Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6881/0.6881, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001111/0.001111, allocations: 177.2 kB / 164.4 MB, free: 6.863 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.485/1.485, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.0009194/0.0009193, allocations: 86.64 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2784/0.2793, allocations: 82.9 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.4262, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.8061, allocations: 101.7 MB / 0.7204 GB, free: 10.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.8065, allocations: 79.95 kB / 0.7205 GB, free: 10.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0131/0.8196, allocations: 4.27 MB / 0.7246 GB, free: 6.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.8197, allocations: 9.031 kB / 0.7246 GB, free: 6.191 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.8198, allocations: 4 kB / 0.7246 GB, free: 6.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.8199, allocations: 167.1 kB / 0.7248 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.8199, allocations: 4 kB / 0.7248 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.8199, allocations: 0 / 0.7248 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.975e-05/0.82, allocations: 0 / 0.7248 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.737e-05/0.8201, allocations: 33.64 kB / 0.7248 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8201, allocations: 3.906 kB / 0.7248 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8201, allocations: 0 / 0.7248 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8201, allocations: 4 kB / 0.7248 GB, free: 5.934 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.8202, allocations: 126.2 kB / 0.725 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.8203, allocations: 26.55 kB / 0.725 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.8203, allocations: 4.859 kB / 0.725 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/0.8208, allocations: 421.6 kB / 0.7254 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.8208, allocations: 34.56 kB / 0.7254 GB, free: 5.184 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.8208, allocations: 0 / 0.7254 GB, free: 5.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.8211, allocations: 41.62 kB / 0.7255 GB, free: 5.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8211, allocations: 51.41 kB / 0.7255 GB, free: 5.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.027e-05/0.8211, allocations: 85 kB / 0.7256 GB, free: 4.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.8212, allocations: 29.64 kB / 0.7256 GB, free: 4.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.8212, allocations: 80.14 kB / 0.7257 GB, free: 4.867 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.8212, allocations: 3.906 kB / 0.7257 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.8213, allocations: 0 / 0.7257 GB, free: 4.863 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8214, allocations: 314.8 kB / 0.726 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.8214, allocations: 8.031 kB / 0.726 GB, free: 4.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-06/0.8214, allocations: 0 / 0.726 GB, free: 4.539 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.8215, allocations: 0 / 0.726 GB, free: 4.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8215, allocations: 0 / 0.726 GB, free: 4.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.736e-05/0.8216, allocations: 37.69 kB / 0.7261 GB, free: 4.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8216, allocations: 4 kB / 0.7261 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8216, allocations: 0 / 0.7261 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8216, allocations: 3.906 kB / 0.7261 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.8217, allocations: 4 kB / 0.7261 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8217, allocations: 4.094 kB / 0.7261 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.8217, allocations: 0 / 0.7261 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.8218, allocations: 4.953 kB / 0.7261 GB, free: 4.477 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 (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 0.0001347/0.8219, allocations: 101 kB / 0.7262 GB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.8219, allocations: 4 kB / 0.7262 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.8221, allocations: 36.69 kB / 0.7262 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8221, allocations: 3.906 kB / 0.7262 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8221, allocations: 4.031 kB / 0.7262 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8221, allocations: 0 / 0.7262 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.718e-05/0.8222, allocations: 126.2 kB / 0.7263 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8222, allocations: 4 kB / 0.7263 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.8222, allocations: 0 / 0.7263 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8222, allocations: 0 / 0.7263 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.8222, allocations: 0 / 0.7263 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8223, allocations: 3.984 kB / 0.7263 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8223, allocations: 0 / 0.7263 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.8224, allocations: 68.97 kB / 0.7264 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002183/0.8226, allocations: 437.5 kB / 0.7268 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.8227, allocations: 81.02 kB / 0.7269 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.8227, allocations: 0 / 0.7269 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-06/0.8227, allocations: 3.938 kB / 0.7269 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.8227, allocations: 4.062 kB / 0.7269 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.8227, allocations: 3.938 kB / 0.7269 GB, free: 3.508 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.172e-05/0.8228, allocations: 79.69 kB / 0.727 GB, free: 3.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008418/0.8236, allocations: 19.94 kB / 0.727 GB, free: 3.406 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 (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.0002348/0.8239, allocations: 115.2 kB / 0.7271 GB, free: 3.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.8239, allocations: 3.938 kB / 0.7271 GB, free: 3.281 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8239, allocations: 0 / 0.7271 GB, free: 3.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/0.824, allocations: 4.062 kB / 0.7271 GB, free: 3.277 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.702e-05/0.8241, allocations: 7.969 kB / 0.7271 GB, free: 3.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.8242, allocations: 44.06 kB / 0.7272 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.8245, allocations: 0.6802 MB / 0.7278 GB, free: 2.496 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.8245, allocations: 0 / 0.7278 GB, free: 2.496 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)