Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004602/0.004602, allocations: 180.7 kB / 7.455 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7927/0.7927, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 94.33 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3958/0.3968, allocations: 88.43 MB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.552, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/1.055, allocations: 110.5 MB / 0.7412 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.055, allocations: 69.84 kB / 0.7413 GB, free: 10.55 MB / 0.4948 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.002312/1.057, allocations: 0.8117 MB / 0.7421 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.057, allocations: 7.625 kB / 0.7421 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/1.057, allocations: 5.219 kB / 0.7421 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/1.057, allocations: 167.5 kB / 0.7422 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/1.057, allocations: 2.688 kB / 0.7422 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/1.058, allocations: 3.938 kB / 0.7422 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.915e-05/1.058, allocations: 12.25 kB / 0.7422 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/1.058, allocations: 38.98 kB / 0.7423 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/1.058, allocations: 3.844 kB / 0.7423 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.058, allocations: 0.7031 kB / 0.7423 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.058, allocations: 4 kB / 0.7423 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/1.058, allocations: 253.9 kB / 0.7425 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.907e-05/1.058, allocations: 32 kB / 0.7426 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/1.058, allocations: 9.531 kB / 0.7426 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/1.059, allocations: 412 kB / 0.743 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.059, allocations: 34.25 kB / 0.743 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.059, allocations: 4 kB / 0.743 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002061/1.059, allocations: 42.2 kB / 0.743 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.059, allocations: 55.25 kB / 0.7431 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/1.059, allocations: 94.45 kB / 0.7432 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.059, allocations: 25.7 kB / 0.7432 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/1.059, allocations: 84.78 kB / 0.7433 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/1.059, allocations: 12.48 kB / 0.7433 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.059, allocations: 0 / 0.7433 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.059, allocations: 319.8 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/1.059, allocations: 3.844 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/1.059, allocations: 7 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/1.059, allocations: 4.391 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.059, allocations: 0 / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.736e-05/1.059, allocations: 43.25 kB / 0.7437 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.059, allocations: 7.688 kB / 0.7437 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.059, allocations: 0 / 0.7437 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.059, allocations: 7.156 kB / 0.7437 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/1.06, allocations: 14.31 kB / 0.7437 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.06, allocations: 4.672 kB / 0.7437 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/1.06, allocations: 5.828 kB / 0.7437 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/1.06, allocations: 4.484 kB / 0.7437 GB, free: 24.48 MB / 0.5105 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 6.488e-05/1.06, allocations: 105 kB / 0.7438 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/1.06, allocations: 11.72 kB / 0.7438 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/1.06, allocations: 51.38 kB / 0.7439 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.06, allocations: 0.6094 kB / 0.7439 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.06, allocations: 0 / 0.7439 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.06, allocations: 0.7031 kB / 0.7439 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/1.06, allocations: 139.6 kB / 0.744 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.06, allocations: 0 / 0.744 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/1.06, allocations: 15.03 kB / 0.744 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.06, allocations: 3.906 kB / 0.744 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/1.06, allocations: 3.938 kB / 0.744 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.06, allocations: 0.7031 kB / 0.744 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.06, allocations: 4.531 kB / 0.744 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/1.06, allocations: 145 kB / 0.7442 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002502/1.061, allocations: 0.5044 MB / 0.7447 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/1.061, allocations: 81.81 kB / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.061, allocations: 0.7969 kB / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/1.061, allocations: 12.19 kB / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/1.061, allocations: 7.906 kB / 0.7448 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/1.061, allocations: 1.781 kB / 0.7448 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.671e-05/1.061, allocations: 82.84 kB / 0.7448 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007696/1.062, allocations: 7.875 kB / 0.7448 GB, free: 23.33 MB / 0.5105 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.0001449/1.062, allocations: 103.7 kB / 0.7449 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/1.062, allocations: 14.75 kB / 0.745 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.062, allocations: 0 / 0.745 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/1.062, allocations: 12.41 kB / 0.745 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/1.062, allocations: 4.062 kB / 0.745 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/1.062, allocations: 63.23 kB / 0.745 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/1.062, allocations: 0.6962 MB / 0.7457 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.063, allocations: 0 / 0.7457 GB, free: 22.46 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)