Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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.6944/0.6944, allocations: 127.3 MB / 134.6 MB, free: 4.121 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.001146/0.001146, allocations: 185.3 kB / 164.4 MB, free: 6.914 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.69/1.69, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.001083/0.001082, allocations: 95.05 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.334e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5375/0.7338, allocations: 103.6 MB / 0.722 GB, free: 8.855 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.7341, allocations: 87.92 kB / 0.7221 GB, free: 8.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01695/0.7511, allocations: 5.325 MB / 0.7273 GB, free: 3.453 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.7511, allocations: 0 / 0.7273 GB, free: 3.453 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004373/0.7516, allocations: 358.4 kB / 0.7277 GB, free: 3.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7516, allocations: 8.031 kB / 0.7277 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.7517, allocations: 4 kB / 0.7277 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.7519, allocations: 175.9 kB / 0.7279 GB, free: 2.836 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7519, allocations: 0 / 0.7279 GB, free: 2.836 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.7519, allocations: 8 kB / 0.7279 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.902e-05/0.752, allocations: 15.98 kB / 0.7279 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.44e-05/0.7521, allocations: 29.7 kB / 0.7279 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7521, allocations: 0 / 0.7279 GB, free: 2.777 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7521, allocations: 4 kB / 0.7279 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7521, allocations: 4 kB / 0.7279 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.7525, allocations: 229.5 kB / 0.7281 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.7527, allocations: 50.55 kB / 0.7282 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.7528, allocations: 16.86 kB / 0.7282 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/0.7532, allocations: 198.2 kB / 0.7284 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7533, allocations: 30.56 kB / 0.7284 GB, free: 2.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 2.445e-06/0.7533, allocations: 4 kB / 0.7284 GB, free: 2.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.001141/0.7544, allocations: 157.5 kB / 0.7286 GB, free: 1.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.7545, allocations: 55.39 kB / 0.7286 GB, free: 1.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7547, allocations: 93 kB / 0.7287 GB, free: 1.832 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.7547, allocations: 25.7 kB / 0.7287 GB, free: 1.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.7548, allocations: 84.08 kB / 0.7288 GB, free: 1.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.7548, allocations: 15.81 kB / 0.7288 GB, free: 1.699 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.7548, allocations: 0 / 0.7288 GB, free: 1.699 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.755, allocations: 314.8 kB / 0.7291 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.755, allocations: 15.94 kB / 0.7291 GB, free: 1.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.7551, allocations: 21.72 kB / 0.7292 GB, free: 1.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.7551, allocations: 20.33 kB / 0.7292 GB, free: 1.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7551, allocations: 0 / 0.7292 GB, free: 1.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001544/0.7553, allocations: 61.59 kB / 0.7292 GB, free: 1.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7553, allocations: 8 kB / 0.7293 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7554, allocations: 3.938 kB / 0.7293 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7554, allocations: 0 / 0.7293 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.7556, allocations: 28 kB / 0.7293 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.7557, allocations: 4 kB / 0.7293 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.7558, allocations: 19.92 kB / 0.7293 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.7559, allocations: 3.984 kB / 0.7293 GB, free: 1.188 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001129/0.756, allocations: 104.9 kB / 0.7294 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.756, allocations: 8 kB / 0.7294 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.7561, allocations: 7.688 kB / 0.7294 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7561, allocations: 0 / 0.7294 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7561, allocations: 0 / 0.7294 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7561, allocations: 0 / 0.7294 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.7563, allocations: 146.1 kB / 0.7296 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7564, allocations: 0 / 0.7296 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.7566, allocations: 23.98 kB / 0.7296 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7566, allocations: 0 / 0.7296 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.7566, allocations: 0 / 0.7296 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.7566, allocations: 7.984 kB / 0.7296 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.7566, allocations: 0 / 0.7296 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002429/0.7569, allocations: 159.4 kB / 0.7297 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.7569, allocations: 81.47 kB / 0.7298 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.757, allocations: 7.984 kB / 0.7298 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.7572, allocations: 19.98 kB / 0.7298 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.7572, allocations: 3.984 kB / 0.7299 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.7572, allocations: 4 kB / 0.7299 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.603e-05/0.7573, allocations: 79.22 kB / 0.7299 GB, free: 480 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.7576, allocations: 19.98 kB / 0.73 GB, free: 460 kB / 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 (4): * Single equations (assignments): 4 * 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.0002111/0.7578, allocations: 103.2 kB / 0.7301 GB, free: 348 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.758, allocations: 35.92 kB / 0.7301 GB, free: 312 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.758, allocations: 0 / 0.7301 GB, free: 312 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.758, allocations: 16 kB / 0.7301 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.7582, allocations: 0 / 0.7301 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.7587, allocations: 107.9 kB / 0.7302 GB, free: 164 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.7591, allocations: 0.6954 MB / 0.7309 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.7591, allocations: 0 / 0.7309 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.00345/0.7626, allocations: 0.8441 MB / 0.7317 GB, free: 14.61 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)