Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009941/0.0009942, allocations: 181.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 85.52 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3786/0.3796, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.5636, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/1.096, allocations: 131.2 MB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.096, allocations: 71.52 kB / 1.013 GB, free: 7.207 MB / 0.6355 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.002483/1.099, allocations: 0.9349 MB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.099, allocations: 8 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/1.099, allocations: 3.906 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.493e-05/1.099, allocations: 163 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/1.099, allocations: 0 / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/1.099, allocations: 4 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.444e-05/1.099, allocations: 8 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/1.099, allocations: 41.92 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/1.099, allocations: 0 / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/1.099, allocations: 3.906 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.099, allocations: 0 / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/1.099, allocations: 134.2 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/1.1, allocations: 29.83 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/1.1, allocations: 11.98 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/1.1, allocations: 409.6 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/1.1, allocations: 30.56 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.1, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.00014/1.1, allocations: 44.66 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/1.1, allocations: 51.41 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.588e-05/1.1, allocations: 85 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.1, allocations: 29.7 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/1.1, allocations: 80.14 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.1, allocations: 10.66 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/1.1, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/1.1, allocations: 310.8 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/1.1, allocations: 4 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-06/1.1, allocations: 2.812 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/1.1, allocations: 11.92 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/1.1, allocations: 0.8438 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.627e-05/1.1, allocations: 45.19 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.1, allocations: 11.91 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.1, allocations: 3.016 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.1, allocations: 0 / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/1.101, allocations: 8 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003359/1.101, allocations: 0.5849 MB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/1.101, allocations: 8 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/1.101, allocations: 3.938 kB / 1.016 GB, free: 4.008 MB / 0.6355 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/1.101, allocations: 115.5 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/1.101, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/1.101, allocations: 48.7 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.101, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.101, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.101, allocations: 8.141 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.211e-05/1.101, allocations: 137.2 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.101, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/1.101, allocations: 8 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.101, allocations: 7.984 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/1.101, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003009/1.102, allocations: 0.5897 MB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.102, allocations: 4.031 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.646e-05/1.102, allocations: 68.16 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001655/1.102, allocations: 449.1 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/1.102, allocations: 77.11 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/1.102, allocations: 0 / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/1.102, allocations: 7.906 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/1.102, allocations: 7.938 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/1.102, allocations: 3.984 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.165e-05/1.102, allocations: 75.28 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007781/1.103, allocations: 4 kB / 1.017 GB, free: 2.309 MB / 0.6355 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/1.103, allocations: 107.2 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.103, allocations: 15.98 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.103, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-05/1.103, allocations: 22.48 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.594e-05/1.103, allocations: 7.094 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/1.104, allocations: 51.31 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/1.104, allocations: 0.6876 MB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.104, allocations: 0 / 1.018 GB, free: 1.371 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)