Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.001289, allocations: 187.1 kB / 7.804 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4737/0.4737, allocations: 90.86 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.4 MB / 342.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 95.36 kB / 415.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1905/0.1916, allocations: 78.47 MB / 494 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.5691, allocations: 72.29 MB / 0.553 GB, free: 44.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.6915, allocations: 100 MB / 0.6507 GB, free: 8.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.6918, allocations: 71.95 kB / 0.6507 GB, free: 8.477 MB / 474.7 MB 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.002639/0.6945, allocations: 0.953 MB / 0.6517 GB, free: 7.492 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6945, allocations: 17.53 kB / 0.6517 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.6946, allocations: 3.906 kB / 0.6517 GB, free: 7.473 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.6947, allocations: 159.6 kB / 0.6518 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6947, allocations: 0 / 0.6518 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.6948, allocations: 0.5938 kB / 0.6518 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.263e-05/0.6948, allocations: 12 kB / 0.6518 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.6949, allocations: 33.69 kB / 0.6519 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6949, allocations: 4.5 kB / 0.6519 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.6949, allocations: 0 / 0.6519 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.6949, allocations: 0 / 0.6519 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.6951, allocations: 134.1 kB / 0.652 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.6952, allocations: 34.61 kB / 0.652 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.6952, allocations: 8.859 kB / 0.6521 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.6956, allocations: 409.6 kB / 0.6524 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.6957, allocations: 35.44 kB / 0.6525 GB, free: 6.465 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.6957, allocations: 0 / 0.6525 GB, free: 6.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.6959, allocations: 41.69 kB / 0.6525 GB, free: 6.418 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.6959, allocations: 53.66 kB / 0.6526 GB, free: 6.355 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.377e-05/0.696, allocations: 85 kB / 0.6526 GB, free: 6.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.696, allocations: 29.7 kB / 0.6527 GB, free: 6.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.696, allocations: 80.14 kB / 0.6528 GB, free: 6.148 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.6961, allocations: 11.81 kB / 0.6528 GB, free: 6.137 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.6961, allocations: 0 / 0.6528 GB, free: 6.137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6962, allocations: 310.8 kB / 0.6531 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.6962, allocations: 7.938 kB / 0.6531 GB, free: 5.816 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-06/0.6962, allocations: 4 kB / 0.6531 GB, free: 5.812 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.6963, allocations: 7.984 kB / 0.6531 GB, free: 5.805 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6963, allocations: 0 / 0.6531 GB, free: 5.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.58e-05/0.6964, allocations: 37.7 kB / 0.6531 GB, free: 5.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.6964, allocations: 4 kB / 0.6531 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6964, allocations: 4 kB / 0.6531 GB, free: 5.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6964, allocations: 3.984 kB / 0.6531 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.6966, allocations: 15.91 kB / 0.6531 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003896/0.697, allocations: 0.586 MB / 0.6537 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.697, allocations: 0 / 0.6537 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.697, allocations: 12.95 kB / 0.6537 GB, free: 5.113 MB / 474.7 MB 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 8.613e-05/0.6971, allocations: 104.9 kB / 0.6538 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.6971, allocations: 4 kB / 0.6538 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.6973, allocations: 49.39 kB / 0.6539 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6973, allocations: 0 / 0.6539 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6973, allocations: 0.5625 kB / 0.6539 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6973, allocations: 0.9375 kB / 0.6539 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.6974, allocations: 134.1 kB / 0.654 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6974, allocations: 4 kB / 0.654 GB, free: 4.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.6975, allocations: 8.562 kB / 0.654 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6975, allocations: 0 / 0.654 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.6975, allocations: 0 / 0.654 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003043/0.6978, allocations: 0.5944 MB / 0.6546 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6978, allocations: 0 / 0.6546 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.876e-05/0.6979, allocations: 69.25 kB / 0.6547 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002006/0.6981, allocations: 449.4 kB / 0.6551 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.6982, allocations: 77.67 kB / 0.6552 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.6982, allocations: 0 / 0.6552 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.6982, allocations: 4 kB / 0.6552 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.6983, allocations: 12 kB / 0.6552 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.6983, allocations: 3.906 kB / 0.6552 GB, free: 3.484 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.684e-05/0.6983, allocations: 75.28 kB / 0.6553 GB, free: 3.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007669/0.6991, allocations: 9.484 kB / 0.6553 GB, free: 3.402 MB / 474.7 MB 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/0.6992, allocations: 103.2 kB / 0.6554 GB, free: 3.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.6994, allocations: 19.98 kB / 0.6554 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6994, allocations: 0 / 0.6554 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.6995, allocations: 23.94 kB / 0.6554 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.054e-05/0.6996, allocations: 0 / 0.6554 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.6998, allocations: 51.92 kB / 0.6555 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.7001, allocations: 0.6837 MB / 0.6561 GB, free: 2.465 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7001, allocations: 0 / 0.6561 GB, free: 2.465 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)