Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 180.1 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 98.38 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7262/0.7272, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/1.051, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/2.235, allocations: 481.5 MB / 1.682 GB, free: 15.96 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/2.235, allocations: 89.45 kB / 1.682 GB, free: 15.91 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 3.56/5.796, allocations: 0.9573 GB / 2.639 GB, free: 3.398 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/5.796, allocations: 16 kB / 2.639 GB, free: 3.383 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/5.802, allocations: 0.5795 MB / 2.64 GB, free: 2.797 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7153/6.517, allocations: 4.069 MB / 2.644 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/6.517, allocations: 119.3 kB / 2.644 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/6.52, allocations: 237.7 kB / 2.644 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01158/6.531, allocations: 5.088 MB / 2.649 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/6.544, allocations: 5.524 MB / 2.654 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/6.544, allocations: 17.5 kB / 2.655 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005861/6.545, allocations: 9.156 kB / 2.655 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003688/6.545, allocations: 410.4 kB / 2.655 GB, free: 247.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03788/6.583, allocations: 25.03 MB / 2.679 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/6.59, allocations: 3.967 MB / 2.683 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/6.593, allocations: 2.298 MB / 2.685 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/6.617, allocations: 12.42 MB / 2.698 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003289/6.62, allocations: 2.139 MB / 2.7 GB, free: 229 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 6.181e-06/6.62, allocations: 0 / 2.7 GB, free: 229 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.09531/6.716, allocations: 18.68 MB / 2.718 GB, free: 227.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/6.716, allocations: 112.7 kB / 2.718 GB, free: 227.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/6.72, allocations: 2.219 MB / 2.72 GB, free: 227.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/6.721, allocations: 30.8 kB / 2.72 GB, free: 227.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/6.723, allocations: 1.52 MB / 2.722 GB, free: 226.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/6.724, allocations: 1.113 MB / 2.723 GB, free: 226.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/6.725, allocations: 2.156 kB / 2.723 GB, free: 226.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002513/6.725, allocations: 473.5 kB / 2.723 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/6.728, allocations: 1.881 MB / 2.725 GB, free: 225.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/6.731, allocations: 2.904 MB / 2.728 GB, free: 224.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02712/6.758, allocations: 5.294 MB / 2.733 GB, free: 224.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.298e-05/6.758, allocations: 9.75 kB / 2.733 GB, free: 224.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03475/6.793, allocations: 8.099 MB / 2.741 GB, free: 224.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002656/6.796, allocations: 11.91 MB / 2.753 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.305e-05/6.796, allocations: 32.12 kB / 2.753 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-05/6.796, allocations: 50.31 kB / 2.753 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03864/6.835, allocations: 3.866 MB / 2.757 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/6.848, allocations: 5.504 MB / 2.762 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/6.854, allocations: 293.5 kB / 2.762 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/6.856, allocations: 203.1 kB / 2.762 GB, free: 208.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/6.856, allocations: 3.781 kB / 2.762 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02172/6.878, allocations: 6.149 MB / 2.768 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.268e-05/6.878, allocations: 30.16 kB / 2.768 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/6.878, allocations: 52.25 kB / 2.768 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00666/6.884, allocations: 1.335 MB / 2.77 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.92e-05/6.884, allocations: 67.59 kB / 2.77 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/6.89, allocations: 287.2 kB / 2.77 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009609/6.891, allocations: 206.9 kB / 2.77 GB, free: 208.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00162/6.893, allocations: 215.2 kB / 2.77 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/6.894, allocations: 376.7 kB / 2.771 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03524/6.929, allocations: 8.223 MB / 2.779 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/6.929, allocations: 39.78 kB / 2.779 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/6.93, allocations: 0 / 2.779 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03151/6.961, allocations: 6.98 MB / 2.786 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05139/7.013, allocations: 17.56 MB / 2.803 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/7.013, allocations: 14.38 kB / 2.803 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03647/7.049, allocations: 3.49 MB / 2.806 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/7.049, allocations: 32.81 kB / 2.806 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009309/7.05, allocations: 67.09 kB / 2.806 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/7.062, allocations: 5.374 MB / 2.812 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/7.062, allocations: 23.25 kB / 2.812 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03684/7.099, allocations: 12.47 MB / 2.824 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04115/7.14, allocations: 15.91 MB / 2.839 GB, free: 195.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003562/7.144, allocations: 0.9421 MB / 2.84 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/7.145, allocations: 37.53 kB / 2.84 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004073/7.149, allocations: 199.1 kB / 2.841 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/7.15, allocations: 256 kB / 2.841 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004556/7.15, allocations: 173.4 kB / 2.841 GB, free: 195.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002622/7.153, allocations: 1.612 MB / 2.843 GB, free: 195.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01336/7.166, allocations: 2.847 MB / 2.845 GB, free: 195.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004967/7.171, allocations: 1.777 MB / 2.847 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0687/7.24, allocations: 11.29 MB / 2.858 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.332e-05/7.24, allocations: 4.438 kB / 2.858 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.05621/7.296, allocations: 6.258 MB / 2.864 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008904/7.305, allocations: 1.271 MB / 2.865 GB, free: 195.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/7.325, allocations: 9.048 MB / 2.874 GB, free: 193.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005265/7.33, allocations: 3.65 MB / 2.878 GB, free: 192.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.184e-06/7.33, allocations: 0 / 2.878 GB, free: 192.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat does not exist to compare? outputFormat=mat