Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.252/2.252, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001069/0.001069, allocations: 183.7 kB / 490.8 MB, free: 1.91 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.337/1.337, allocations: 221.4 MB / 0.7863 GB, free: 13.73 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.001065/0.001065, allocations: 93.92 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6028/0.6039, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.87, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7838/1.654, allocations: 150.3 MB / 1.358 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.654, allocations: 76.62 kB / 1.359 GB, free: 17.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01102/1.665, allocations: 3.428 MB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.665, allocations: 10 kB / 1.362 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.667, allocations: 148.7 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/1.667, allocations: 180.3 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/1.667, allocations: 7.281 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/1.667, allocations: 4.094 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002315/1.667, allocations: 88.97 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/1.667, allocations: 108.8 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.667, allocations: 0 / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.667, allocations: 1.75 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.667, allocations: 2 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/1.669, allocations: 460.1 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.669, allocations: 89.17 kB / 1.363 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/1.669, allocations: 28.03 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/1.669, allocations: 1.25 kB / 1.363 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.669, allocations: 33.12 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/1.669, allocations: 7.938 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002361/1.669, allocations: 77.3 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/1.67, allocations: 51.41 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.67, allocations: 137.4 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.67, allocations: 25.7 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/1.67, allocations: 111.4 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/1.67, allocations: 11.64 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/1.67, allocations: 0 / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.67, allocations: 325.9 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/1.67, allocations: 33.06 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/1.67, allocations: 49.55 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/1.67, allocations: 29.08 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/1.67, allocations: 0 / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002269/1.67, allocations: 107.9 kB / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.671, allocations: 272.3 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.671, allocations: 1.062 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.671, allocations: 3.016 kB / 1.364 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/1.671, allocations: 59.98 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.671, allocations: 3.5 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/1.671, allocations: 53.25 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.671, allocations: 6.281 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/1.672, allocations: 3.25 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001147/1.672, allocations: 41.73 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/1.672, allocations: 1.25 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-06/1.672, allocations: 1.125 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/1.672, allocations: 31.66 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/1.672, allocations: 1.688 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.672, allocations: 22.16 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/1.672, allocations: 4.422 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.346e-05/1.672, allocations: 105 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/1.672, allocations: 7.781 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/1.672, allocations: 12.47 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.672, allocations: 1 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.672, allocations: 5.391 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.672, allocations: 0 / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/1.672, allocations: 188.6 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.672, allocations: 0 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/1.673, allocations: 42.19 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.673, allocations: 0 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.673, allocations: 3.516 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.673, allocations: 0 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.673, allocations: 160 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00019/1.673, allocations: 171 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003256/1.673, allocations: 0.5589 MB / 1.365 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/1.673, allocations: 94.2 kB / 1.366 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/1.673, allocations: 4.906 kB / 1.366 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.674, allocations: 36.09 kB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/1.674, allocations: 6.438 kB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.674, allocations: 5.016 kB / 1.366 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.772e-05/1.674, allocations: 113.4 kB / 1.366 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001513/1.676, allocations: 45.08 kB / 1.366 GB, free: 29.75 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001675/1.676, allocations: 104.3 kB / 1.366 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000271/1.676, allocations: 89.64 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.676, allocations: 0 / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/1.676, allocations: 24.16 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/1.676, allocations: 6.375 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/1.677, allocations: 158.8 kB / 1.366 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/1.678, allocations: 0.7191 MB / 1.367 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.678, allocations: 4 kB / 1.367 GB, free: 28.85 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat