Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001189/0.001188, allocations: 185.1 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5749/0.5749, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.43/1.43, allocations: 221.4 MB / 342.8 MB, free: 5.094 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.0009068/0.0009068, allocations: 83.5 kB / 415.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1868/0.1877, allocations: 78.45 MB / 493.9 MB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.6179, allocations: 72.3 MB / 0.553 GB, free: 73.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.7631, allocations: 101.3 MB / 0.6519 GB, free: 8.605 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.7634, allocations: 69.38 kB / 0.652 GB, free: 8.539 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.0145/0.778, allocations: 4.389 MB / 0.6563 GB, free: 4.156 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.778, allocations: 8.562 kB / 0.6563 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.7781, allocations: 8.594 kB / 0.6563 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.7783, allocations: 167 kB / 0.6565 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.7784, allocations: 5.656 kB / 0.6565 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.7784, allocations: 0 / 0.6565 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.7785, allocations: 12.66 kB / 0.6565 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.7786, allocations: 29.7 kB / 0.6565 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7787, allocations: 0.9375 kB / 0.6565 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.7787, allocations: 0 / 0.6565 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7787, allocations: 4.516 kB / 0.6565 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.7793, allocations: 255.7 kB / 0.6568 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.7794, allocations: 30.45 kB / 0.6568 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.7795, allocations: 10.23 kB / 0.6568 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.7805, allocations: 462.6 kB / 0.6573 GB, free: 3.012 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.7805, allocations: 36.62 kB / 0.6573 GB, free: 2.969 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 3.517e-06/0.7805, allocations: 3.984 kB / 0.6573 GB, free: 2.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002114/0.7807, allocations: 45.59 kB / 0.6573 GB, free: 2.914 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.7808, allocations: 56.06 kB / 0.6574 GB, free: 2.848 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.7809, allocations: 89.56 kB / 0.6575 GB, free: 2.754 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.7809, allocations: 25.7 kB / 0.6575 GB, free: 2.723 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.781, allocations: 89.48 kB / 0.6576 GB, free: 2.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.781, allocations: 7.891 kB / 0.6576 GB, free: 2.625 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.781, allocations: 3.938 kB / 0.6576 GB, free: 2.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7811, allocations: 311.6 kB / 0.6579 GB, free: 2.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.7811, allocations: 12.03 kB / 0.6579 GB, free: 2.297 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.7812, allocations: 4 kB / 0.6579 GB, free: 2.293 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.7812, allocations: 9.031 kB / 0.6579 GB, free: 2.285 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7812, allocations: 0 / 0.6579 GB, free: 2.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.7813, allocations: 49.59 kB / 0.658 GB, free: 2.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7814, allocations: 6.031 kB / 0.658 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7814, allocations: 0 / 0.658 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7814, allocations: 0 / 0.658 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.7815, allocations: 13.53 kB / 0.658 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7815, allocations: 3.984 kB / 0.658 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.7816, allocations: 8 kB / 0.658 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.7816, allocations: 0 / 0.658 GB, free: 2.203 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 (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 7.401e-05/0.7817, allocations: 105 kB / 0.6581 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.7817, allocations: 9.969 kB / 0.6581 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.7819, allocations: 53.25 kB / 0.6582 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7819, allocations: 0 / 0.6582 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7819, allocations: 1 kB / 0.6582 GB, free: 2.023 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7819, allocations: 3.984 kB / 0.6582 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.7821, allocations: 138.1 kB / 0.6583 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7821, allocations: 0 / 0.6583 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.7822, allocations: 20.02 kB / 0.6583 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7822, allocations: 0 / 0.6583 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7822, allocations: 0 / 0.6583 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7822, allocations: 6.5 kB / 0.6583 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7822, allocations: 0 / 0.6583 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001607/0.7824, allocations: 147.4 kB / 0.6585 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002935/0.7827, allocations: 0.5077 MB / 0.659 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.7827, allocations: 89.03 kB / 0.659 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.7828, allocations: 0 / 0.659 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.7829, allocations: 4 kB / 0.659 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.783, allocations: 7.984 kB / 0.659 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.783, allocations: 32 / 0.659 GB, free: 1.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.751e-05/0.783, allocations: 83.28 kB / 0.6591 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008087/0.7838, allocations: 19.91 kB / 0.6591 GB, free: 0.918 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 (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.0001879/0.784, allocations: 115.2 kB / 0.6593 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.739e-05/0.7841, allocations: 22.38 kB / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7842, allocations: 0 / 0.6593 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.7842, allocations: 4 kB / 0.6593 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.7844, allocations: 3.938 kB / 0.6593 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.7846, allocations: 67.91 kB / 0.6593 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.785, allocations: 0.6919 MB / 0.66 GB, free: 15.96 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.785, allocations: 0 / 0.66 GB, free: 15.96 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)