Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.057/2.057, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001258/0.001258, allocations: 189.2 kB / 487 MB, free: 5.34 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.487/1.487, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0009913/0.0009912, allocations: 98.62 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6863/0.6874, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.9743, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7998/1.774, allocations: 152.3 MB / 1.354 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.775, allocations: 85.53 kB / 1.354 GB, free: 15.76 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02338/1.798, allocations: 8.238 MB / 1.362 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.798, allocations: 8 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/1.798, allocations: 16.38 kB / 1.362 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/1.798, allocations: 255.9 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.798, allocations: 4.656 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/1.798, allocations: 4 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003285/1.799, allocations: 188 kB / 1.363 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/1.799, allocations: 115.3 kB / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.799, allocations: 0 / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.799, allocations: 0 / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.799, allocations: 0 / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/1.799, allocations: 234 kB / 1.363 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/1.8, allocations: 149.9 kB / 1.363 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/1.8, allocations: 62.53 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/1.8, allocations: 3.938 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.8, allocations: 112.3 kB / 1.363 GB, free: 13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/1.8, allocations: 4 kB / 1.363 GB, free: 13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0003559/1.8, allocations: 177.6 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/1.8, allocations: 81.62 kB / 1.363 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/1.801, allocations: 220.7 kB / 1.364 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.801, allocations: 34.39 kB / 1.364 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/1.801, allocations: 92.59 kB / 1.364 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/1.801, allocations: 40.38 kB / 1.364 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/1.801, allocations: 0 / 1.364 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/1.801, allocations: 331.3 kB / 1.364 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/1.801, allocations: 61.58 kB / 1.364 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/1.801, allocations: 85.94 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.801, allocations: 63 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.801, allocations: 0 / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002819/1.801, allocations: 193.8 kB / 1.365 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.801, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.801, allocations: 0 / 1.365 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.801, allocations: 0 / 1.365 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.802, allocations: 36.55 kB / 1.365 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.802, allocations: 4.781 kB / 1.365 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/1.802, allocations: 8.562 kB / 1.365 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/1.802, allocations: 7.984 kB / 1.365 GB, free: 11.81 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/1.802, allocations: 108.5 kB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/1.802, allocations: 20.52 kB / 1.365 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/1.802, allocations: 260.5 kB / 1.365 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.802, allocations: 4 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.802, allocations: 0.5156 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.802, allocations: 1.297 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/1.802, allocations: 248 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.802, allocations: 3.938 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.803, allocations: 35.89 kB / 1.365 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.803, allocations: 7.906 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/1.803, allocations: 1.594 kB / 1.365 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.803, allocations: 4 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.803, allocations: 3.938 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002991/1.803, allocations: 244.9 kB / 1.366 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00037/1.803, allocations: 0.6135 MB / 1.366 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/1.803, allocations: 99.69 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/1.803, allocations: 3.5 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/1.804, allocations: 8.656 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.804, allocations: 13.77 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/1.804, allocations: 16.19 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000149/1.804, allocations: 185 kB / 1.366 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008453/1.805, allocations: 56.06 kB / 1.366 GB, free: 10.17 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008112/1.805, allocations: 353.5 kB / 1.367 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002533/1.806, allocations: 158.6 kB / 1.367 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.806, allocations: 0 / 1.367 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.806, allocations: 86.94 kB / 1.367 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/1.806, allocations: 36.36 kB / 1.367 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/1.807, allocations: 250.6 kB / 1.367 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/1.807, allocations: 0.7778 MB / 1.368 GB, free: 24.74 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.807, allocations: 0 / 1.368 GB, free: 24.74 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat