Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_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.004463/0.004469, allocations: 178.4 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7465/0.7465, 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.642/1.642, allocations: 221.3 MB / 395 MB, free: 10.27 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.001441/0.001441, allocations: 101.3 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5638/0.5653, allocations: 88.42 MB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.7633, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4956/1.259, allocations: 110.5 MB / 0.7412 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.259, allocations: 69.31 kB / 0.7413 GB, free: 10.71 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.002292/1.262, allocations: 0.8063 MB / 0.7421 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.262, allocations: 12.36 kB / 0.7421 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/1.262, allocations: 11.84 kB / 0.7421 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.262, allocations: 167.6 kB / 0.7422 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.262, allocations: 1.625 kB / 0.7422 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/1.262, allocations: 0 / 0.7422 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.187e-05/1.262, allocations: 11.5 kB / 0.7423 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/1.262, allocations: 39.33 kB / 0.7423 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/1.262, allocations: 0 / 0.7423 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/1.262, allocations: 0 / 0.7423 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/1.262, allocations: 3.906 kB / 0.7423 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/1.263, allocations: 246.8 kB / 0.7425 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/1.263, allocations: 32.48 kB / 0.7426 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/1.263, allocations: 15.55 kB / 0.7426 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/1.263, allocations: 408.6 kB / 0.743 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.263, allocations: 35.06 kB / 0.743 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.263, allocations: 0 / 0.743 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001834/1.263, allocations: 42.56 kB / 0.743 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/1.263, allocations: 55.44 kB / 0.7431 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/1.263, allocations: 97.62 kB / 0.7432 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/1.263, allocations: 25.7 kB / 0.7432 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/1.263, allocations: 84.38 kB / 0.7433 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.263, allocations: 8.453 kB / 0.7433 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.263, allocations: 7.75 kB / 0.7433 GB, free: 25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.264, allocations: 312.2 kB / 0.7436 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/1.264, allocations: 7.625 kB / 0.7436 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/1.264, allocations: 7.062 kB / 0.7436 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/1.264, allocations: 4.547 kB / 0.7436 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.264, allocations: 0 / 0.7436 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.521e-05/1.264, allocations: 46.77 kB / 0.7437 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/1.264, allocations: 7.719 kB / 0.7437 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/1.264, allocations: 0.75 kB / 0.7437 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.264, allocations: 4.422 kB / 0.7437 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/1.264, allocations: 14.25 kB / 0.7437 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.264, allocations: 0.9844 kB / 0.7437 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/1.264, allocations: 8.797 kB / 0.7437 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/1.264, allocations: 6.688 kB / 0.7437 GB, free: 24.64 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 5.726e-05/1.264, allocations: 101.5 kB / 0.7438 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/1.264, allocations: 4.703 kB / 0.7438 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/1.264, allocations: 63.16 kB / 0.7439 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.264, allocations: 0.6094 kB / 0.7439 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.264, allocations: 0 / 0.7439 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/1.264, allocations: 0 / 0.7439 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/1.264, allocations: 142.6 kB / 0.744 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.264, allocations: 0 / 0.744 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/1.264, allocations: 10.59 kB / 0.744 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.264, allocations: 7.938 kB / 0.744 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/1.264, allocations: 0.5625 kB / 0.744 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.264, allocations: 3.906 kB / 0.744 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.264, allocations: 3.984 kB / 0.744 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001179/1.265, allocations: 144.3 kB / 0.7442 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001888/1.265, allocations: 0.5049 MB / 0.7447 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/1.265, allocations: 81.77 kB / 0.7447 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/1.265, allocations: 4.594 kB / 0.7447 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/1.265, allocations: 7.422 kB / 0.7448 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/1.265, allocations: 4.578 kB / 0.7448 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/1.265, allocations: 0.7031 kB / 0.7448 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.599e-05/1.265, allocations: 87.36 kB / 0.7448 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007922/1.266, allocations: 12.2 kB / 0.7449 GB, free: 23.5 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.000179/1.266, allocations: 99.64 kB / 0.7449 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/1.266, allocations: 18.97 kB / 0.745 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.266, allocations: 0 / 0.745 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/1.266, allocations: 6.844 kB / 0.745 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/1.266, allocations: 7.188 kB / 0.745 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/1.267, allocations: 67.39 kB / 0.745 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.267, allocations: 0.6928 MB / 0.7457 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/1.267, allocations: 0 / 0.7457 GB, free: 22.62 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)