Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.101/2.101, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001111/0.001111, allocations: 184.5 kB / 487 MB, free: 5.383 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.421/1.421, allocations: 221.3 MB / 0.7819 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 102.6 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6323/0.6333, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.924, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/2.098, allocations: 480.7 MB / 1.675 GB, free: 8.727 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/2.098, allocations: 94.38 kB / 1.675 GB, free: 8.676 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 4.054/6.152, allocations: 0.9573 GB / 2.632 GB, free: 127.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/6.153, allocations: 7.562 kB / 2.632 GB, free: 127.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/6.157, allocations: 0.5864 MB / 2.633 GB, free: 127.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/6.169, allocations: 4.069 MB / 2.637 GB, free: 126.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/6.169, allocations: 125.2 kB / 2.637 GB, free: 126.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/6.17, allocations: 240.9 kB / 2.637 GB, free: 126.8 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009747/6.18, allocations: 5.084 MB / 2.642 GB, free: 126.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/6.192, allocations: 5.527 MB / 2.647 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/6.192, allocations: 15.34 kB / 2.647 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006029/6.193, allocations: 13.53 kB / 2.647 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003621/6.193, allocations: 408.2 kB / 2.648 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/6.232, allocations: 25.02 MB / 2.672 GB, free: 112.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008084/6.24, allocations: 3.961 MB / 2.676 GB, free: 112.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/6.243, allocations: 2.303 MB / 2.678 GB, free: 112.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02493/6.268, allocations: 12.42 MB / 2.69 GB, free: 107.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003713/6.272, allocations: 2.136 MB / 2.693 GB, free: 107.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=310): time 5.972e-06/6.272, allocations: 0 / 2.693 GB, free: 107.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=334): time 0.0932/6.365, allocations: 18.68 MB / 2.711 GB, free: 105.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/6.365, allocations: 110.5 kB / 2.711 GB, free: 105.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/6.37, allocations: 2.225 MB / 2.713 GB, free: 105.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/6.371, allocations: 29.42 kB / 2.713 GB, free: 105.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/6.372, allocations: 1.52 MB / 2.715 GB, free: 104.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/6.374, allocations: 1.115 MB / 2.716 GB, free: 103.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008682/6.375, allocations: 0 / 2.716 GB, free: 103.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003283/6.376, allocations: 472.2 kB / 2.716 GB, free: 103.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/6.379, allocations: 1.885 MB / 2.718 GB, free: 103.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/6.383, allocations: 2.911 MB / 2.721 GB, free: 102.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02665/6.41, allocations: 5.284 MB / 2.726 GB, free: 102.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.247e-05/6.41, allocations: 11.19 kB / 2.726 GB, free: 102.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.0374/6.447, allocations: 8.102 MB / 2.734 GB, free: 101.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002399/6.45, allocations: 11.91 MB / 2.746 GB, free: 89.64 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/6.45, allocations: 29.28 kB / 2.746 GB, free: 89.64 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-05/6.45, allocations: 50.5 kB / 2.746 GB, free: 89.64 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03848/6.489, allocations: 3.864 MB / 2.749 GB, free: 89.64 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/6.501, allocations: 5.513 MB / 2.755 GB, free: 86.12 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/6.508, allocations: 292.9 kB / 2.755 GB, free: 86.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/6.509, allocations: 210.7 kB / 2.755 GB, free: 86.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/6.51, allocations: 3.875 kB / 2.755 GB, free: 86.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02426/6.534, allocations: 6.136 MB / 2.761 GB, free: 86.02 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/6.534, allocations: 27.16 kB / 2.761 GB, free: 86.02 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.708e-05/6.534, allocations: 55.06 kB / 2.761 GB, free: 86.02 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007285/6.541, allocations: 1.339 MB / 2.763 GB, free: 86.02 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/6.541, allocations: 65.2 kB / 2.763 GB, free: 86.02 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/6.547, allocations: 293.5 kB / 2.763 GB, free: 85.99 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/6.549, allocations: 200.1 kB / 2.763 GB, free: 85.99 MB / 1.182 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.002247/6.551, allocations: 212.3 kB / 2.763 GB, free: 85.87 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/6.553, allocations: 374.7 kB / 2.764 GB, free: 85.68 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03716/6.59, allocations: 8.21 MB / 2.772 GB, free: 85.49 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/6.59, allocations: 46.88 kB / 2.772 GB, free: 85.49 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/6.59, allocations: 0 / 2.772 GB, free: 85.49 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03237/6.623, allocations: 6.978 MB / 2.779 GB, free: 85.16 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0539/6.677, allocations: 17.56 MB / 2.796 GB, free: 83.61 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.498e-05/6.677, allocations: 15.62 kB / 2.796 GB, free: 83.61 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03462/6.711, allocations: 3.493 MB / 2.799 GB, free: 83.61 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.133e-05/6.711, allocations: 35.66 kB / 2.799 GB, free: 83.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001136/6.713, allocations: 66.53 kB / 2.799 GB, free: 83.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/6.725, allocations: 5.372 MB / 2.805 GB, free: 80.09 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-05/6.725, allocations: 28.31 kB / 2.805 GB, free: 80.09 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04001/6.765, allocations: 12.47 MB / 2.817 GB, free: 76.95 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04383/6.809, allocations: 15.91 MB / 2.832 GB, free: 73.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004985/6.814, allocations: 0.9314 MB / 2.833 GB, free: 73.11 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/6.816, allocations: 47.09 kB / 2.833 GB, free: 73.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005546/6.822, allocations: 197.6 kB / 2.833 GB, free: 73.09 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/6.823, allocations: 260.4 kB / 2.834 GB, free: 73.07 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001171/6.824, allocations: 173.2 kB / 2.834 GB, free: 73.07 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.004243/6.829, allocations: 1.609 MB / 2.835 GB, free: 72.93 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01498/6.844, allocations: 2.846 MB / 2.838 GB, free: 72.75 MB / 1.182 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.005065/6.849, allocations: 1.766 MB / 2.84 GB, free: 72.36 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06569/6.914, allocations: 11.28 MB / 2.851 GB, free: 72.27 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.103e-05/6.914, allocations: 13 kB / 2.851 GB, free: 72.27 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.05522/6.97, allocations: 6.26 MB / 2.857 GB, free: 72.27 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008744/6.978, allocations: 1.276 MB / 2.858 GB, free: 72.24 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/7.003, allocations: 9.059 MB / 2.867 GB, free: 70.21 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007762/7.011, allocations: 3.646 MB / 2.871 GB, free: 69.39 MB / 1.182 GB Notification: Performance of SimCode: time 1.613e-06/7.011, allocations: 0.9062 kB / 2.871 GB, free: 69.39 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat does not exist to compare? outputFormat=mat