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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.7587/0.7587, allocations: 127.4 MB / 134.6 MB, free: 4.043 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.001215/0.001215, allocations: 185.3 kB / 164.4 MB, free: 6.844 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.863/1.863, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001096/0.001096, allocations: 90.86 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3785/0.3797, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.5851, allocations: 76.75 MB / 0.621 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/1.318, allocations: 103.6 MB / 0.7221 GB, free: 8.734 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.318, allocations: 87.94 kB / 0.7222 GB, free: 8.648 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.02529/1.343, allocations: 5.686 MB / 0.7278 GB, free: 2.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/1.343, allocations: 8 kB / 0.7278 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/1.344, allocations: 4 kB / 0.7278 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/1.344, allocations: 170.9 kB / 0.728 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/1.344, allocations: 0 / 0.728 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/1.344, allocations: 4 kB / 0.728 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001248/1.344, allocations: 15.98 kB / 0.728 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/1.344, allocations: 33.7 kB / 0.728 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.344, allocations: 0 / 0.728 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.344, allocations: 0 / 0.728 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.344, allocations: 7.984 kB / 0.728 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/1.345, allocations: 225.4 kB / 0.7282 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/1.345, allocations: 50.62 kB / 0.7283 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/1.345, allocations: 20.86 kB / 0.7283 GB, free: 2.305 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/1.346, allocations: 190.3 kB / 0.7285 GB, free: 2.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.346, allocations: 34.56 kB / 0.7285 GB, free: 2.039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/1.346, allocations: 0 / 0.7285 GB, free: 2.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.001563/1.347, allocations: 157.4 kB / 0.7287 GB, free: 1.879 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.347, allocations: 55.41 kB / 0.7287 GB, free: 1.812 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.347, allocations: 97.03 kB / 0.7288 GB, free: 1.711 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/1.347, allocations: 25.7 kB / 0.7288 GB, free: 1.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/1.348, allocations: 80.14 kB / 0.7289 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.348, allocations: 11.81 kB / 0.7289 GB, free: 1.586 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/1.348, allocations: 0 / 0.7289 GB, free: 1.586 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/1.348, allocations: 318.8 kB / 0.7292 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/1.348, allocations: 15.94 kB / 0.7292 GB, free: 1.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/1.348, allocations: 25.72 kB / 0.7293 GB, free: 1.219 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/1.348, allocations: 16.33 kB / 0.7293 GB, free: 1.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.348, allocations: 3.938 kB / 0.7293 GB, free: 1.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002065/1.348, allocations: 61.59 kB / 0.7293 GB, free: 1.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.348, allocations: 8 kB / 0.7293 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.348, allocations: 0 / 0.7293 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.348, allocations: 3.984 kB / 0.7294 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.349, allocations: 27.95 kB / 0.7294 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.349, allocations: 4 kB / 0.7294 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/1.349, allocations: 19.92 kB / 0.7294 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/1.349, allocations: 3.984 kB / 0.7294 GB, free: 1.066 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.000122/1.349, allocations: 108.9 kB / 0.7295 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/1.349, allocations: 4 kB / 0.7295 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/1.349, allocations: 7.688 kB / 0.7295 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.349, allocations: 0 / 0.7295 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.349, allocations: 0 / 0.7295 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.349, allocations: 0 / 0.7295 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.349, allocations: 146.1 kB / 0.7297 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.349, allocations: 0 / 0.7297 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/1.35, allocations: 23.98 kB / 0.7297 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.35, allocations: 0 / 0.7297 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.35, allocations: 4.109 kB / 0.7297 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.35, allocations: 8 kB / 0.7297 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.35, allocations: 0 / 0.7297 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002565/1.35, allocations: 155.4 kB / 0.7298 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004037/1.35, allocations: 0.5272 MB / 0.7304 GB, free: 12 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/1.351, allocations: 77.11 kB / 0.7304 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/1.351, allocations: 7.922 kB / 0.7304 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.351, allocations: 23.89 kB / 0.7305 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/1.351, allocations: 0 / 0.7305 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/1.351, allocations: 4 kB / 0.7305 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.117e-05/1.351, allocations: 83.28 kB / 0.7305 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001316/1.352, allocations: 15.98 kB / 0.7306 GB, free: 15.79 MB / 0.4948 GB 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.0002316/1.353, allocations: 107.2 kB / 0.7307 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001887/1.353, allocations: 35.92 kB / 0.7307 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.353, allocations: 0 / 0.7307 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/1.353, allocations: 20.62 kB / 0.7307 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/1.353, allocations: 0 / 0.7307 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/1.354, allocations: 103.8 kB / 0.7308 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/1.354, allocations: 0.7032 MB / 0.7315 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/1.354, allocations: 0 / 0.7315 GB, free: 14.77 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)