Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 187.5 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4541/0.4541, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.303/1.303, allocations: 221.4 MB / 342.8 MB, free: 5.102 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.0009193/0.0009193, allocations: 98.11 kB / 415.5 MB, free: 9.785 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.1791, allocations: 78.45 MB / 494 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.5663, allocations: 72.29 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.6928, allocations: 102.5 MB / 0.653 GB, free: 6.137 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.6931, allocations: 81.02 kB / 0.6531 GB, free: 6.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01725/0.7104, allocations: 5.399 MB / 0.6584 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7104, allocations: 9.594 kB / 0.6584 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.7105, allocations: 7.906 kB / 0.6584 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.7106, allocations: 163 kB / 0.6586 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7106, allocations: 0 / 0.6586 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.7107, allocations: 4 kB / 0.6586 GB, free: 420 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001402/0.7108, allocations: 15.91 kB / 0.6586 GB, free: 404 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.743e-05/0.7109, allocations: 37.69 kB / 0.6586 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7109, allocations: 0 / 0.6586 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.7109, allocations: 0 / 0.6586 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.7109, allocations: 4 kB / 0.6586 GB, free: 356 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.7113, allocations: 229.4 kB / 0.6588 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.7115, allocations: 46.62 kB / 0.6589 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.7116, allocations: 20.86 kB / 0.6589 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.7116, allocations: 0 / 0.6589 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7117, allocations: 30.56 kB / 0.6589 GB, free: 15.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.7117, allocations: 0 / 0.6589 GB, free: 15.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001656/0.7118, allocations: 45.78 kB / 0.659 GB, free: 15.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7119, allocations: 56.16 kB / 0.659 GB, free: 15.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.7119, allocations: 92.92 kB / 0.6591 GB, free: 15.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.712, allocations: 33.7 kB / 0.6592 GB, free: 15.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.712, allocations: 88.03 kB / 0.6592 GB, free: 15.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/0.712, allocations: 11.81 kB / 0.6592 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.712, allocations: 0 / 0.6592 GB, free: 15.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.7121, allocations: 314.8 kB / 0.6595 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.7122, allocations: 8 kB / 0.6596 GB, free: 15.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.7122, allocations: 19.81 kB / 0.6596 GB, free: 15.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.7122, allocations: 11.98 kB / 0.6596 GB, free: 15.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7122, allocations: 4 kB / 0.6596 GB, free: 15.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.663e-05/0.7123, allocations: 49.69 kB / 0.6596 GB, free: 15.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7124, allocations: 7.938 kB / 0.6596 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7124, allocations: 4 kB / 0.6596 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7124, allocations: 3.906 kB / 0.6597 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.7124, allocations: 11.94 kB / 0.6597 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7124, allocations: 0 / 0.6597 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.7125, allocations: 0 / 0.6597 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.7125, allocations: 4 kB / 0.6597 GB, free: 15.16 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 6.407e-05/0.7126, allocations: 105 kB / 0.6598 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.7126, allocations: 4.188 kB / 0.6598 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.7127, allocations: 65.34 kB / 0.6598 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7128, allocations: 0 / 0.6598 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7128, allocations: 0 / 0.6598 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7128, allocations: 0 / 0.6598 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7129, allocations: 138.1 kB / 0.66 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7129, allocations: 128 / 0.66 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.713, allocations: 15.94 kB / 0.66 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.713, allocations: 0 / 0.66 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.713, allocations: 0 / 0.66 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.713, allocations: 4 kB / 0.66 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.713, allocations: 2.25 kB / 0.66 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001149/0.7131, allocations: 146.9 kB / 0.6601 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001998/0.7133, allocations: 0.5194 MB / 0.6606 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.7134, allocations: 85.05 kB / 0.6607 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7134, allocations: 0 / 0.6607 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.7135, allocations: 0 / 0.6607 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.7135, allocations: 3.938 kB / 0.6607 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.7135, allocations: 4 kB / 0.6607 GB, free: 13.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.561e-05/0.7135, allocations: 75.28 kB / 0.6608 GB, free: 13.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008098/0.7143, allocations: 31.89 kB / 0.6608 GB, free: 13.88 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 (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.0002209/0.7146, allocations: 123.2 kB / 0.6609 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.98e-05/0.7147, allocations: 16 kB / 0.661 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7147, allocations: 4 kB / 0.661 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.25e-05/0.7147, allocations: 15.92 kB / 0.661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.7149, allocations: 4 kB / 0.661 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.7152, allocations: 72.98 kB / 0.661 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.7154, allocations: 0.6888 MB / 0.6617 GB, free: 12.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7154, allocations: 4.062 kB / 0.6617 GB, free: 12.89 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)