Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_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.004672/0.004672, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7285/0.7285, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 395 MB, free: 10.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.05 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4734/0.4744, allocations: 88.43 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.6562, allocations: 82.31 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5461/1.202, allocations: 112.2 MB / 0.7429 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.203, allocations: 81.12 kB / 0.743 GB, free: 10.8 MB / 0.4948 GB 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.01573/1.218, allocations: 5.384 MB / 0.7483 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.218, allocations: 8.516 kB / 0.7483 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/1.219, allocations: 7.781 kB / 0.7483 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.219, allocations: 159.9 kB / 0.7484 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/1.219, allocations: 0.5156 kB / 0.7484 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/1.219, allocations: 3.844 kB / 0.7484 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.124e-05/1.219, allocations: 16.88 kB / 0.7485 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/1.219, allocations: 48.06 kB / 0.7485 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/1.219, allocations: 0 / 0.7485 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.219, allocations: 0 / 0.7485 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.219, allocations: 0 / 0.7485 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/1.219, allocations: 235.5 kB / 0.7487 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/1.219, allocations: 47.27 kB / 0.7488 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/1.219, allocations: 13.3 kB / 0.7488 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.22, allocations: 8.625 kB / 0.7488 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.22, allocations: 30.56 kB / 0.7488 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.22, allocations: 0 / 0.7488 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/1.22, allocations: 44.19 kB / 0.7489 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.22, allocations: 59.31 kB / 0.7489 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/1.22, allocations: 90.44 kB / 0.749 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/1.22, allocations: 29.7 kB / 0.749 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/1.22, allocations: 88.69 kB / 0.7491 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/1.22, allocations: 11.84 kB / 0.7491 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.22, allocations: 0 / 0.7491 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.22, allocations: 319.3 kB / 0.7494 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/1.22, allocations: 3.969 kB / 0.7494 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/1.22, allocations: 18.16 kB / 0.7495 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/1.22, allocations: 9.578 kB / 0.7495 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.22, allocations: 0 / 0.7495 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.62e-05/1.22, allocations: 53.14 kB / 0.7495 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.22, allocations: 7.812 kB / 0.7495 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.22, allocations: 0 / 0.7495 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.22, allocations: 0.5156 kB / 0.7495 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/1.22, allocations: 9.234 kB / 0.7495 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.22, allocations: 3.906 kB / 0.7495 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/1.22, allocations: 3.844 kB / 0.7495 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/1.22, allocations: 288 / 0.7495 GB, free: 24.86 MB / 0.5105 GB 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.083e-05/1.22, allocations: 105.9 kB / 0.7496 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/1.221, allocations: 11.41 kB / 0.7497 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/1.221, allocations: 61.47 kB / 0.7497 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.221, allocations: 0 / 0.7497 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.221, allocations: 0 / 0.7497 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.221, allocations: 0.5625 kB / 0.7497 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/1.221, allocations: 135.8 kB / 0.7498 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.221, allocations: 4 kB / 0.7498 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/1.221, allocations: 12.59 kB / 0.7499 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.221, allocations: 4 kB / 0.7499 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.221, allocations: 0 / 0.7499 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.221, allocations: 0 / 0.7499 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.221, allocations: 4.734 kB / 0.7499 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001113/1.221, allocations: 146.2 kB / 0.75 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002217/1.221, allocations: 0.5186 MB / 0.7505 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/1.221, allocations: 89.62 kB / 0.7506 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/1.221, allocations: 0 / 0.7506 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/1.221, allocations: 0 / 0.7506 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.221, allocations: 1.219 kB / 0.7506 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/1.221, allocations: 4.391 kB / 0.7506 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.067e-05/1.221, allocations: 76.03 kB / 0.7507 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008043/1.222, allocations: 23.44 kB / 0.7507 GB, free: 23.7 MB / 0.5105 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.0001931/1.222, allocations: 129.3 kB / 0.7508 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.962e-05/1.223, allocations: 20.27 kB / 0.7508 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.223, allocations: 0 / 0.7508 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/1.223, allocations: 10.56 kB / 0.7508 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/1.223, allocations: 8.469 kB / 0.7509 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/1.223, allocations: 57.98 kB / 0.7509 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/1.223, allocations: 0.6961 MB / 0.7516 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.223, allocations: 0 / 0.7516 GB, free: 22.83 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)