Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001175/0.001175, allocations: 187.3 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.601/1.601, allocations: 221.3 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.001097/0.001098, allocations: 90.48 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7291/0.7302, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/1.037, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8872/1.924, allocations: 153.1 MB / 1.361 GB, free: 16.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.925, allocations: 87.56 kB / 1.361 GB, free: 16.84 MB / 0.823 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.02288/1.947, allocations: 8.254 MB / 1.369 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.948, allocations: 10.12 kB / 1.369 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/1.948, allocations: 15.81 kB / 1.369 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/1.948, allocations: 252.7 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.948, allocations: 5.688 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/1.948, allocations: 2.75 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003599/1.948, allocations: 173.5 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/1.949, allocations: 133.8 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.949, allocations: 4 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.949, allocations: 0 / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.949, allocations: 2.594 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/1.949, allocations: 225.2 kB / 1.37 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/1.949, allocations: 150.5 kB / 1.37 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/1.949, allocations: 62.08 kB / 1.37 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/1.949, allocations: 8.094 kB / 1.37 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/1.95, allocations: 109.2 kB / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/1.95, allocations: 0 / 1.37 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004374/1.95, allocations: 180.2 kB / 1.371 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.95, allocations: 79.3 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/1.95, allocations: 222.2 kB / 1.371 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.95, allocations: 32.64 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/1.951, allocations: 95.89 kB / 1.371 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/1.951, allocations: 47.56 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/1.951, allocations: 1.062 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.951, allocations: 332 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/1.951, allocations: 56.2 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/1.951, allocations: 76.2 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/1.951, allocations: 63.23 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.951, allocations: 4.031 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003288/1.951, allocations: 196.6 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.951, allocations: 9.062 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.951, allocations: 0 / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.951, allocations: 1.484 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.952, allocations: 29.06 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.952, allocations: 1.469 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.821e-05/1.952, allocations: 14.27 kB / 1.372 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/1.952, allocations: 5.672 kB / 1.372 GB, free: 30.67 MB / 0.8386 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 9.636e-05/1.952, allocations: 111.9 kB / 1.372 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/1.952, allocations: 15.47 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/1.952, allocations: 258.8 kB / 1.372 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.952, allocations: 2.875 kB / 1.372 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.952, allocations: 0 / 1.372 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.952, allocations: 2.984 kB / 1.372 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/1.953, allocations: 243.7 kB / 1.372 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.953, allocations: 4 kB / 1.372 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.953, allocations: 42.95 kB / 1.372 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.953, allocations: 1.625 kB / 1.372 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/1.953, allocations: 11.44 kB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.953, allocations: 0.9062 kB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.953, allocations: 1.172 kB / 1.372 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000374/1.953, allocations: 241.9 kB / 1.373 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006337/1.954, allocations: 0.6224 MB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/1.954, allocations: 100.3 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/1.954, allocations: 2.984 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/1.954, allocations: 4.031 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/1.954, allocations: 16.5 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/1.954, allocations: 6.984 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001854/1.954, allocations: 178.5 kB / 1.374 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009598/1.955, allocations: 65.58 kB / 1.374 GB, free: 29.59 MB / 0.8386 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.0008318/1.956, allocations: 364.2 kB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003036/1.957, allocations: 143.7 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.957, allocations: 1.438 kB / 1.374 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/1.957, allocations: 92.81 kB / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/1.957, allocations: 29.41 kB / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/1.958, allocations: 251 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/1.958, allocations: 0.7721 MB / 1.375 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.958, allocations: 0 / 1.375 GB, free: 28.58 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat