Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7205/0.7205, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001726/0.001726, allocations: 177.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009909/0.0009907, allocations: 87.14 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3879/0.3889, allocations: 82.88 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.6445, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6653/1.31, allocations: 102.4 MB / 0.721 GB, free: 9.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.31, allocations: 76.67 kB / 0.7211 GB, free: 9.746 MB / 490.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.01559/1.326, allocations: 4.622 MB / 0.7256 GB, free: 5.086 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/1.326, allocations: 12 kB / 0.7256 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/1.326, allocations: 7.906 kB / 0.7256 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.326, allocations: 171 kB / 0.7258 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.326, allocations: 0 / 0.7258 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.326, allocations: 0 / 0.7258 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.138e-05/1.326, allocations: 16 kB / 0.7258 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/1.326, allocations: 37.69 kB / 0.7259 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.326, allocations: 0 / 0.7259 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.326, allocations: 3.906 kB / 0.7259 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/1.326, allocations: 0.75 kB / 0.7259 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/1.327, allocations: 245.5 kB / 0.7261 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/1.327, allocations: 30.5 kB / 0.7261 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/1.327, allocations: 12.97 kB / 0.7261 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/1.328, allocations: 465.5 kB / 0.7266 GB, free: 3.918 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/1.328, allocations: 34.47 kB / 0.7266 GB, free: 3.875 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/1.328, allocations: 0 / 0.7266 GB, free: 3.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002511/1.328, allocations: 45.69 kB / 0.7267 GB, free: 3.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.328, allocations: 55.34 kB / 0.7267 GB, free: 3.758 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.328, allocations: 96.94 kB / 0.7268 GB, free: 3.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.328, allocations: 25.7 kB / 0.7268 GB, free: 3.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/1.328, allocations: 84.14 kB / 0.7269 GB, free: 3.539 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.328, allocations: 11.92 kB / 0.7269 GB, free: 3.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.328, allocations: 0 / 0.7269 GB, free: 3.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/1.329, allocations: 314.8 kB / 0.7272 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/1.329, allocations: 7.938 kB / 0.7272 GB, free: 3.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/1.329, allocations: 8 kB / 0.7272 GB, free: 3.195 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/1.329, allocations: 4 kB / 0.7272 GB, free: 3.191 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/1.329, allocations: 0 / 0.7272 GB, free: 3.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001119/1.329, allocations: 41.61 kB / 0.7273 GB, free: 3.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.329, allocations: 16.08 kB / 0.7273 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.329, allocations: 0 / 0.7273 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.329, allocations: 0 / 0.7273 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/1.329, allocations: 8 kB / 0.7273 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.329, allocations: 3.984 kB / 0.7273 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/1.329, allocations: 15.98 kB / 0.7273 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/1.329, allocations: 0 / 0.7273 GB, free: 3.102 MB / 490.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 9.557e-05/1.329, allocations: 108.9 kB / 0.7274 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/1.329, allocations: 0 / 0.7274 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/1.329, allocations: 57.25 kB / 0.7275 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.329, allocations: 0 / 0.7275 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.329, allocations: 0 / 0.7275 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.329, allocations: 3.906 kB / 0.7275 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/1.33, allocations: 138.2 kB / 0.7276 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.33, allocations: 4.031 kB / 0.7276 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/1.33, allocations: 15.98 kB / 0.7276 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/1.33, allocations: 0 / 0.7276 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.33, allocations: 256 / 0.7276 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/1.33, allocations: 4 kB / 0.7276 GB, free: 2.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.33, allocations: 0 / 0.7276 GB, free: 2.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001836/1.33, allocations: 143.4 kB / 0.7278 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003138/1.33, allocations: 0.5082 MB / 0.7283 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/1.33, allocations: 85.05 kB / 0.7284 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/1.33, allocations: 3.984 kB / 0.7284 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/1.33, allocations: 11.97 kB / 0.7284 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/1.331, allocations: 11.92 kB / 0.7284 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/1.331, allocations: 0 / 0.7284 GB, free: 1.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.508e-05/1.331, allocations: 83.28 kB / 0.7285 GB, free: 1.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000827/1.331, allocations: 16 kB / 0.7285 GB, free: 1.82 MB / 490.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.0002844/1.332, allocations: 115.2 kB / 0.7286 GB, free: 1.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/1.332, allocations: 23.94 kB / 0.7286 GB, free: 1.672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.332, allocations: 3.938 kB / 0.7286 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/1.332, allocations: 8 kB / 0.7286 GB, free: 1.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/1.332, allocations: 3.938 kB / 0.7286 GB, free: 1.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/1.333, allocations: 59.92 kB / 0.7287 GB, free: 1.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.333, allocations: 0.688 MB / 0.7294 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.333, allocations: 0 / 0.7294 GB, free: 0.8594 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)