Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.8576/0.8576, 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.001252/0.001252, 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.086 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.001076/0.001076, allocations: 83 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3598/0.3609, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.5697, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5919/1.162, allocations: 102.3 MB / 0.7209 GB, free: 9.918 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.162, allocations: 79.94 kB / 0.721 GB, free: 9.84 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01127/1.173, allocations: 3.671 MB / 0.7246 GB, free: 6.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/1.173, allocations: 8 kB / 0.7246 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/1.173, allocations: 11.98 kB / 0.7246 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/1.174, allocations: 159.1 kB / 0.7248 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.174, allocations: 3.906 kB / 0.7248 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/1.174, allocations: 0 / 0.7248 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.951e-05/1.174, allocations: 4.938 kB / 0.7248 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/1.174, allocations: 33.7 kB / 0.7248 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.174, allocations: 0 / 0.7248 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/1.174, allocations: 3.938 kB / 0.7248 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.174, allocations: 0 / 0.7248 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/1.174, allocations: 134.2 kB / 0.725 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/1.174, allocations: 26.61 kB / 0.725 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/1.174, allocations: 4.859 kB / 0.725 GB, free: 5.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/1.174, allocations: 93.16 kB / 0.7251 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/1.175, allocations: 38.47 kB / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.175, allocations: 7.938 kB / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007715/1.175, allocations: 109.6 kB / 0.7252 GB, free: 5.383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/1.175, allocations: 51.41 kB / 0.7253 GB, free: 5.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/1.175, allocations: 92.98 kB / 0.7254 GB, free: 5.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.175, allocations: 29.64 kB / 0.7254 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/1.176, allocations: 84.3 kB / 0.7255 GB, free: 5.102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/1.176, allocations: 3.906 kB / 0.7255 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.176, allocations: 0 / 0.7255 GB, free: 5.098 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/1.176, allocations: 314.8 kB / 0.7258 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/1.176, allocations: 4 kB / 0.7258 GB, free: 4.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/1.176, allocations: 4 kB / 0.7258 GB, free: 4.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/1.176, allocations: 11.98 kB / 0.7258 GB, free: 4.762 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.176, allocations: 0 / 0.7258 GB, free: 4.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001036/1.176, allocations: 41.77 kB / 0.7258 GB, free: 4.715 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.176, allocations: 11.89 kB / 0.7258 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.176, allocations: 0 / 0.7258 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.176, allocations: 0 / 0.7258 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.178, allocations: 215.8 kB / 0.726 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/1.181, allocations: 1.504 MB / 0.7275 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/1.181, allocations: 7.984 kB / 0.7275 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/1.181, allocations: 4 kB / 0.7275 GB, free: 2.867 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" type: Real 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.181, allocations: 109.1 kB / 0.7276 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/1.181, allocations: 3.906 kB / 0.7276 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/1.181, allocations: 3.312 kB / 0.7276 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.181, allocations: 0 / 0.7276 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/1.181, allocations: 4 kB / 0.7276 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.181, allocations: 0 / 0.7276 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/1.181, allocations: 138.1 kB / 0.7278 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/1.181, allocations: 3.938 kB / 0.7278 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.183, allocations: 227.8 kB / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.183, allocations: 0 / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.183, allocations: 0 / 0.728 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/1.186, allocations: 1.5 MB / 0.7295 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.186, allocations: 4 kB / 0.7295 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001182/1.187, allocations: 73.67 kB / 0.7295 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002683/1.187, allocations: 453.7 kB / 0.73 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.187, allocations: 81.02 kB / 0.73 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/1.187, allocations: 0 / 0.73 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.187, allocations: 11.98 kB / 0.7301 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/1.187, allocations: 0 / 0.7301 GB, free: 68 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.187, allocations: 0 / 0.7301 GB, free: 68 kB / 490.7 MB Notification: Performance of sort global known variables: time 5.934e-05/1.187, allocations: 83.22 kB / 0.7301 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008511/1.188, allocations: 20.08 kB / 0.7302 GB, free: 15.96 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 (2): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/1.188, allocations: 107.1 kB / 0.7303 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.19, allocations: 299.7 kB / 0.7305 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.19, allocations: 0 / 0.7305 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.193, allocations: 303.8 kB / 0.7308 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/1.193, allocations: 3.906 kB / 0.7308 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/1.195, allocations: 255.8 kB / 0.7311 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/1.195, allocations: 0.6841 MB / 0.7317 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/1.195, allocations: 0 / 0.7317 GB, free: 14.27 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)