Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",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 1.794/1.794, allocations: 390.4 MB / 397.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001057, allocations: 173.8 kB / 490.8 MB, free: 11.18 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.138/1.138, allocations: 221.4 MB / 0.7863 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008506, allocations: 90.92 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.2493, allocations: 149.1 MB / 1.072 GB, free: 15.45 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.801, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.9396, allocations: 149.2 MB / 1.357 GB, free: 42.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.9398, allocations: 71.95 kB / 1.357 GB, free: 42.28 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001982/0.9418, allocations: 0.8165 MB / 1.358 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.9418, allocations: 8 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.9419, allocations: 10.84 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.9419, allocations: 163.1 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.9419, allocations: 0.5 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.942, allocations: 1.031 kB / 1.358 GB, free: 41.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.483e-05/0.942, allocations: 12 kB / 1.358 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.086e-05/0.9421, allocations: 42.22 kB / 1.358 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.9421, allocations: 0 / 1.358 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.9421, allocations: 1.062 kB / 1.358 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.9421, allocations: 0 / 1.358 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.9424, allocations: 249 kB / 1.359 GB, free: 40.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.9425, allocations: 38.48 kB / 1.359 GB, free: 40.85 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.9425, allocations: 9.422 kB / 1.359 GB, free: 40.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.9427, allocations: 423.1 kB / 1.359 GB, free: 40.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.09e-05/0.9427, allocations: 31.84 kB / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9427, allocations: 0 / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.9429, allocations: 38.58 kB / 1.359 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.462e-05/0.9429, allocations: 56.19 kB / 1.359 GB, free: 40.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.943, allocations: 92.98 kB / 1.359 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.943, allocations: 26.67 kB / 1.359 GB, free: 40.05 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.943, allocations: 84.14 kB / 1.359 GB, free: 39.97 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.943, allocations: 12.47 kB / 1.359 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.943, allocations: 6.062 kB / 1.359 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.9431, allocations: 310.8 kB / 1.36 GB, free: 39.64 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.9431, allocations: 8 kB / 1.36 GB, free: 39.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.9431, allocations: 4 kB / 1.36 GB, free: 39.63 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.9432, allocations: 4.562 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9432, allocations: 4.781 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.521e-05/0.9433, allocations: 45.69 kB / 1.36 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.9433, allocations: 4.812 kB / 1.36 GB, free: 39.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.9433, allocations: 5.562 kB / 1.36 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.9433, allocations: 0.7188 kB / 1.36 GB, free: 39.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.9434, allocations: 12.95 kB / 1.36 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.9434, allocations: 0.5625 kB / 1.36 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.9435, allocations: 9.969 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.9435, allocations: 6.953 kB / 1.36 GB, free: 39.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 3.733e-05/0.9435, allocations: 108.8 kB / 1.36 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.9436, allocations: 4 kB / 1.36 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.9437, allocations: 51.28 kB / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9437, allocations: 4 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9437, allocations: 3.906 kB / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9437, allocations: 0 / 1.36 GB, free: 39.37 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.888e-05/0.9438, allocations: 134.9 kB / 1.36 GB, free: 39.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9438, allocations: 0 / 1.36 GB, free: 39.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.9439, allocations: 15.67 kB / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9439, allocations: 0 / 1.36 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.9439, allocations: 4.656 kB / 1.36 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9439, allocations: 7.031 kB / 1.36 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9439, allocations: 0.6562 kB / 1.36 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.805e-05/0.944, allocations: 149.1 kB / 1.36 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001287/0.9441, allocations: 0.5094 MB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.9442, allocations: 82.03 kB / 1.361 GB, free: 38.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.9442, allocations: 3.906 kB / 1.361 GB, free: 38.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.9443, allocations: 13.17 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.9443, allocations: 1.031 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.9443, allocations: 4 kB / 1.361 GB, free: 38.38 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.98e-05/0.9443, allocations: 82.34 kB / 1.361 GB, free: 38.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007528/0.9451, allocations: 4 kB / 1.361 GB, free: 38.29 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.0001029/0.9452, allocations: 103.9 kB / 1.361 GB, free: 38.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.9453, allocations: 20.75 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9453, allocations: 0 / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.9453, allocations: 4.625 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.9455, allocations: 4.594 kB / 1.361 GB, free: 38.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.9456, allocations: 60.31 kB / 1.361 GB, free: 38.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.9458, allocations: 0.6929 MB / 1.362 GB, free: 37.36 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.9458, allocations: 4 kB / 1.362 GB, free: 37.35 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat