Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.00146/0.00146, allocations: 193.3 kB / 7.808 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4655/0.4655, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.409/1.409, allocations: 221.4 MB / 342.7 MB, free: 5.203 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.001069/0.00107, allocations: 99.55 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.1836, allocations: 78.46 MB / 494 MB, free: 7.922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.5717, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.6942, allocations: 100.6 MB / 0.6513 GB, free: 9.344 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.6945, allocations: 83.92 kB / 0.6513 GB, free: 9.262 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01237/0.7069, allocations: 4.019 MB / 0.6553 GB, free: 5.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7069, allocations: 8.938 kB / 0.6553 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.707, allocations: 7.906 kB / 0.6553 GB, free: 5.215 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7071, allocations: 159.1 kB / 0.6554 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7072, allocations: 0.7812 kB / 0.6554 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.7072, allocations: 0 / 0.6554 GB, free: 5.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.443e-05/0.7072, allocations: 6.562 kB / 0.6554 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.177e-05/0.7073, allocations: 30.89 kB / 0.6555 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7073, allocations: 0 / 0.6555 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7073, allocations: 0 / 0.6555 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7073, allocations: 0 / 0.6555 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.7075, allocations: 130.9 kB / 0.6556 GB, free: 4.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.845e-05/0.7075, allocations: 19.7 kB / 0.6556 GB, free: 4.789 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.7076, allocations: 5.453 kB / 0.6556 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.7081, allocations: 423.7 kB / 0.656 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.7081, allocations: 43.19 kB / 0.6561 GB, free: 4.227 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7081, allocations: 0 / 0.6561 GB, free: 4.227 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.7083, allocations: 30.73 kB / 0.6561 GB, free: 4.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.7084, allocations: 51.41 kB / 0.6561 GB, free: 4.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.256e-05/0.7084, allocations: 92.84 kB / 0.6562 GB, free: 4.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7084, allocations: 26.36 kB / 0.6563 GB, free: 4.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.7085, allocations: 81.05 kB / 0.6563 GB, free: 3.922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.7085, allocations: 3.906 kB / 0.6563 GB, free: 3.918 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.7085, allocations: 0 / 0.6563 GB, free: 3.918 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7087, allocations: 315.5 kB / 0.6566 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.7087, allocations: 4.75 kB / 0.6566 GB, free: 3.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.7087, allocations: 0.7812 kB / 0.6566 GB, free: 3.598 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.7087, allocations: 0 / 0.6566 GB, free: 3.598 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7087, allocations: 0.75 kB / 0.6566 GB, free: 3.598 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.536e-05/0.7088, allocations: 39.27 kB / 0.6567 GB, free: 3.555 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7088, allocations: 4 kB / 0.6567 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7089, allocations: 0 / 0.6567 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7089, allocations: 0 / 0.6567 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.7089, allocations: 8.641 kB / 0.6567 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7089, allocations: 0.7812 kB / 0.6567 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.709, allocations: 0.5938 kB / 0.6567 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.709, allocations: 7.891 kB / 0.6567 GB, free: 3.535 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 (1): * Single equations (assignments): 1 * 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 7.049e-05/0.7091, allocations: 101.8 kB / 0.6568 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.7091, allocations: 4.5 kB / 0.6568 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.7092, allocations: 39.8 kB / 0.6568 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.7092, allocations: 1.344 kB / 0.6568 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7092, allocations: 0 / 0.6568 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.7092, allocations: 0 / 0.6568 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.7093, allocations: 130.1 kB / 0.657 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7093, allocations: 4.531 kB / 0.657 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.7094, allocations: 5.656 kB / 0.657 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.7094, allocations: 0 / 0.657 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7094, allocations: 1.625 kB / 0.657 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7094, allocations: 0 / 0.657 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7094, allocations: 0 / 0.657 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001092/0.7095, allocations: 66.94 kB / 0.657 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002091/0.7097, allocations: 439.1 kB / 0.6575 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.7098, allocations: 77.33 kB / 0.6575 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7098, allocations: 7.984 kB / 0.6575 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.7098, allocations: 5.688 kB / 0.6575 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.7098, allocations: 3.938 kB / 0.6575 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.7098, allocations: 0 / 0.6575 GB, free: 2.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.574e-05/0.7099, allocations: 79.28 kB / 0.6576 GB, free: 2.492 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001872/0.7118, allocations: 15.94 kB / 0.6576 GB, free: 2.477 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 (1): * Single equations (assignments): 1 * 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.0002279/0.712, allocations: 112.9 kB / 0.6577 GB, free: 2.355 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.612e-05/0.7121, allocations: 7.984 kB / 0.6578 GB, free: 2.348 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7121, allocations: 0 / 0.6578 GB, free: 2.348 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.7121, allocations: 4 kB / 0.6578 GB, free: 2.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.7122, allocations: 0 / 0.6578 GB, free: 2.344 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.7124, allocations: 47.88 kB / 0.6578 GB, free: 2.273 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.7128, allocations: 0.6841 MB / 0.6585 GB, free: 1.562 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7128, allocations: 0 / 0.6585 GB, free: 1.562 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)