Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7052/0.7052, allocations: 141.8 MB / 149.1 MB, free: 11.86 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 188.1 kB / 181.9 MB, free: 8.586 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 436 MB, free: 0.8242 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 93.53 kB / 0.507 GB, free: 17.74 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 271.4 kB / 0.5884 GB, free: 2.566 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3363/0.3381, allocations: 89.64 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.48, allocations: 82.78 MB / 0.7568 GB, free: 81.09 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.596, allocations: 107.1 MB / 0.8614 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5964, allocations: 73.92 kB / 0.8615 GB, free: 5.742 MB / 0.5419 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.002599/0.599, allocations: 0.9508 MB / 0.8624 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.599, allocations: 9 kB / 0.8625 GB, free: 4.738 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.5991, allocations: 4 kB / 0.8625 GB, free: 4.734 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5992, allocations: 167 kB / 0.8626 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5992, allocations: 0 / 0.8626 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5993, allocations: 3.906 kB / 0.8626 GB, free: 4.527 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.129e-05/0.5993, allocations: 8 kB / 0.8626 GB, free: 4.52 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.293e-05/0.5994, allocations: 37.69 kB / 0.8627 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5994, allocations: 0 / 0.8627 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5994, allocations: 0 / 0.8627 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5994, allocations: 0 / 0.8627 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.5996, allocations: 130.2 kB / 0.8628 GB, free: 4.312 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.5997, allocations: 34.55 kB / 0.8628 GB, free: 4.27 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.5997, allocations: 8.922 kB / 0.8628 GB, free: 4.258 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.6001, allocations: 405.6 kB / 0.8632 GB, free: 3.77 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.6001, allocations: 42.44 kB / 0.8633 GB, free: 3.719 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.6001, allocations: 0 / 0.8633 GB, free: 3.719 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0001628/0.6003, allocations: 37.7 kB / 0.8633 GB, free: 3.676 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.6003, allocations: 55.41 kB / 0.8633 GB, free: 3.609 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.459e-05/0.6004, allocations: 85 kB / 0.8634 GB, free: 3.52 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.6004, allocations: 25.7 kB / 0.8635 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.6004, allocations: 84.14 kB / 0.8635 GB, free: 3.402 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.6005, allocations: 11.83 kB / 0.8635 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.6005, allocations: 0 / 0.8635 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6006, allocations: 318.8 kB / 0.8638 GB, free: 3.07 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.6006, allocations: 0 / 0.8638 GB, free: 3.07 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.6006, allocations: 7.938 kB / 0.8639 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.6007, allocations: 0 / 0.8639 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6007, allocations: 3.906 kB / 0.8639 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.554e-05/0.6008, allocations: 45.69 kB / 0.8639 GB, free: 3.008 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6008, allocations: 8 kB / 0.8639 GB, free: 3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6008, allocations: 0 / 0.8639 GB, free: 3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.6008, allocations: 0 / 0.8639 GB, free: 3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.601, allocations: 15.98 kB / 0.8639 GB, free: 2.984 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/0.6014, allocations: 0.5859 MB / 0.8645 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.6014, allocations: 0 / 0.8645 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.6014, allocations: 12.06 kB / 0.8645 GB, free: 2.363 MB / 0.5419 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.66e-05/0.6015, allocations: 101 kB / 0.8646 GB, free: 2.258 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.6015, allocations: 0 / 0.8646 GB, free: 2.258 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.6017, allocations: 61.09 kB / 0.8647 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6017, allocations: 0 / 0.8647 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6017, allocations: 0 / 0.8647 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6017, allocations: 3.938 kB / 0.8647 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.6018, allocations: 126.2 kB / 0.8648 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6018, allocations: 0 / 0.8648 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.6019, allocations: 15.98 kB / 0.8648 GB, free: 2.012 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6019, allocations: 0 / 0.8648 GB, free: 2.012 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.6019, allocations: 0 / 0.8648 GB, free: 2.012 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002967/0.6022, allocations: 0.5898 MB / 0.8654 GB, free: 1.398 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6022, allocations: 0 / 0.8654 GB, free: 1.398 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001046/0.6023, allocations: 73.44 kB / 0.8654 GB, free: 1.309 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002096/0.6025, allocations: 445.8 kB / 0.8659 GB, free: 0.8516 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.6026, allocations: 88.94 kB / 0.866 GB, free: 0.7461 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.6026, allocations: 48 / 0.866 GB, free: 0.7461 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.6026, allocations: 3.984 kB / 0.866 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.6026, allocations: 0 / 0.866 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6026, allocations: 12 kB / 0.866 GB, free: 0.7305 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.413e-05/0.6027, allocations: 79.28 kB / 0.8661 GB, free: 0.6523 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007345/0.6034, allocations: 4 kB / 0.8661 GB, free: 0.6484 MB / 0.5419 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.0001795/0.6036, allocations: 110.2 kB / 0.8662 GB, free: 0.5352 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.6038, allocations: 20 kB / 0.8662 GB, free: 0.5156 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6038, allocations: 0 / 0.8662 GB, free: 0.5156 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.6039, allocations: 19.98 kB / 0.8662 GB, free: 0.4961 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.584e-05/0.604, allocations: 10.47 kB / 0.8662 GB, free: 500 kB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.6042, allocations: 48.06 kB / 0.8663 GB, free: 428 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6045, allocations: 0.6837 MB / 0.8669 GB, free: 15.71 MB / 0.5575 GB Notification: Performance of SimCode: time 3.807e-06/0.6045, allocations: 0 / 0.8669 GB, free: 15.71 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)