Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.8 MB / 297.1 MB, free: 9.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 192.3 kB / 366.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 0.6256 GB, free: 11.35 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009837/0.0009839, allocations: 95.34 kB / 0.7396 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5395/0.5405, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.7769, allocations: 116.3 MB / 0.9727 GB, free: 31.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.663/1.44, allocations: 138.1 MB / 1.108 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.44, allocations: 72.39 kB / 1.108 GB, free: 16.25 MB / 0.6823 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.002337/1.443, allocations: 0.8101 MB / 1.108 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.443, allocations: 8.906 kB / 1.108 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/1.443, allocations: 6.625 kB / 1.108 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.059e-05/1.443, allocations: 165.1 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.443, allocations: 1.312 kB / 1.109 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/1.443, allocations: 3.984 kB / 1.109 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.164e-05/1.443, allocations: 9.938 kB / 1.109 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.64e-05/1.443, allocations: 42.91 kB / 1.109 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/1.443, allocations: 0 / 1.109 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.443, allocations: 5.375 kB / 1.109 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.443, allocations: 0 / 1.109 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/1.443, allocations: 250.8 kB / 1.109 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/1.443, allocations: 32.7 kB / 1.109 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/1.443, allocations: 11.48 kB / 1.109 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/1.444, allocations: 412.3 kB / 1.109 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/1.444, allocations: 39.62 kB / 1.109 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.444, allocations: 1.281 kB / 1.109 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001729/1.444, allocations: 42.77 kB / 1.109 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/1.444, allocations: 56.66 kB / 1.109 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/1.444, allocations: 95.53 kB / 1.11 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/1.444, allocations: 25.7 kB / 1.11 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/1.444, allocations: 82.89 kB / 1.11 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/1.444, allocations: 8.969 kB / 1.11 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.444, allocations: 4.031 kB / 1.11 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.102e-05/1.444, allocations: 320.6 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/1.444, allocations: 2.562 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/1.444, allocations: 7.781 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/1.444, allocations: 4.328 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.444, allocations: 1.125 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.344e-05/1.444, allocations: 40.61 kB / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.444, allocations: 5.125 kB / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.444, allocations: 96 / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/1.444, allocations: 10.17 kB / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.445, allocations: 15.84 kB / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/1.445, allocations: 0 / 1.11 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/1.445, allocations: 12.83 kB / 1.11 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/1.445, allocations: 1.25 kB / 1.11 GB, free: 14.17 MB / 0.6823 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 4.433e-05/1.445, allocations: 110.9 kB / 1.11 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/1.445, allocations: 4.406 kB / 1.11 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.445, allocations: 47.53 kB / 1.11 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.445, allocations: 4.438 kB / 1.11 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.445, allocations: 0.5625 kB / 1.11 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.445, allocations: 1.188 kB / 1.11 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/1.445, allocations: 136.2 kB / 1.11 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.445, allocations: 0.5312 kB / 1.11 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/1.445, allocations: 17.3 kB / 1.11 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.445, allocations: 0 / 1.11 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/1.445, allocations: 1.344 kB / 1.11 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.445, allocations: 0.7031 kB / 1.11 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.445, allocations: 0 / 1.11 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001155/1.445, allocations: 148.1 kB / 1.11 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000145/1.445, allocations: 0.5066 MB / 1.111 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/1.445, allocations: 82.95 kB / 1.111 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.445, allocations: 1.594 kB / 1.111 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/1.446, allocations: 12.31 kB / 1.111 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/1.446, allocations: 2.156 kB / 1.111 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/1.446, allocations: 1.312 kB / 1.111 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.291e-05/1.446, allocations: 88.33 kB / 1.111 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007667/1.446, allocations: 10.62 kB / 1.111 GB, free: 13.02 MB / 0.6823 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.0001391/1.447, allocations: 99.2 kB / 1.111 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.904e-05/1.447, allocations: 16.38 kB / 1.111 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.447, allocations: 4.062 kB / 1.111 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/1.447, allocations: 10.41 kB / 1.111 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/1.447, allocations: 1.594 kB / 1.111 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/1.447, allocations: 64.02 kB / 1.111 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/1.447, allocations: 0.6976 MB / 1.112 GB, free: 28.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/1.447, allocations: 0.5938 kB / 1.112 GB, free: 28.16 MB / 0.698 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)