Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_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.003936/0.003937, allocations: 180.1 kB / 7.458 MB, free: 2.164 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6887/0.6887, allocations: 133.5 MB / 141.4 MB, free: 15.28 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.518/1.518, allocations: 221.3 MB / 395 MB, free: 9.801 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.001196/0.001197, allocations: 102.3 kB / 477.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4798/0.4811, allocations: 88.43 MB / 0.5529 GB, free: 89.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.6672, allocations: 82.3 MB / 0.6333 GB, free: 13.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5829/1.25, allocations: 112.2 MB / 0.7429 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/1.25, allocations: 84.11 kB / 0.743 GB, free: 10.66 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.01685/1.267, allocations: 5.39 MB / 0.7483 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.951e-05/1.267, allocations: 9.062 kB / 0.7483 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/1.267, allocations: 5.219 kB / 0.7483 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/1.268, allocations: 165.7 kB / 0.7484 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.268, allocations: 0 / 0.7484 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/1.268, allocations: 2.656 kB / 0.7484 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/1.268, allocations: 13.28 kB / 0.7485 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.268, allocations: 42.03 kB / 0.7485 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.268, allocations: 0 / 0.7485 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/1.268, allocations: 5.219 kB / 0.7485 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.268, allocations: 4 kB / 0.7485 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/1.268, allocations: 227.8 kB / 0.7487 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/1.269, allocations: 46.66 kB / 0.7488 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/1.269, allocations: 16.77 kB / 0.7488 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/1.269, allocations: 0.7031 kB / 0.7488 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.269, allocations: 35.12 kB / 0.7488 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.269, allocations: 0 / 0.7488 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.00021/1.269, allocations: 51.11 kB / 0.7489 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.269, allocations: 51.41 kB / 0.7489 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/1.269, allocations: 97.23 kB / 0.749 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.269, allocations: 26.27 kB / 0.749 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/1.269, allocations: 84.89 kB / 0.7491 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/1.269, allocations: 12.31 kB / 0.7491 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/1.269, allocations: 11.62 kB / 0.7491 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.269, allocations: 312.2 kB / 0.7494 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/1.269, allocations: 6.969 kB / 0.7494 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/1.27, allocations: 21.55 kB / 0.7495 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/1.27, allocations: 5.578 kB / 0.7495 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.27, allocations: 3.844 kB / 0.7495 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.133e-05/1.27, allocations: 47.53 kB / 0.7495 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.27, allocations: 7.906 kB / 0.7495 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.27, allocations: 0.6094 kB / 0.7495 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.27, allocations: 3.844 kB / 0.7495 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/1.27, allocations: 9.125 kB / 0.7495 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.27, allocations: 7.781 kB / 0.7495 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.27, allocations: 0 / 0.7495 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/1.27, allocations: 3.594 kB / 0.7495 GB, free: 24.72 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 8.363e-05/1.27, allocations: 104.8 kB / 0.7496 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/1.27, allocations: 4.609 kB / 0.7496 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/1.27, allocations: 61.25 kB / 0.7497 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.27, allocations: 0 / 0.7497 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.27, allocations: 128 / 0.7497 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.27, allocations: 0.6094 kB / 0.7497 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/1.27, allocations: 151.1 kB / 0.7498 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.27, allocations: 0 / 0.7498 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/1.27, allocations: 9.078 kB / 0.7499 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.27, allocations: 0 / 0.7499 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/1.27, allocations: 3.875 kB / 0.7499 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.27, allocations: 4.703 kB / 0.7499 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.27, allocations: 0 / 0.7499 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/1.27, allocations: 146.3 kB / 0.75 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002345/1.271, allocations: 0.5101 MB / 0.7505 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/1.271, allocations: 85.61 kB / 0.7506 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.271, allocations: 4.656 kB / 0.7506 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/1.271, allocations: 432 / 0.7506 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/1.271, allocations: 5.062 kB / 0.7506 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/1.271, allocations: 0 / 0.7506 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.219e-05/1.271, allocations: 87.11 kB / 0.7507 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008369/1.272, allocations: 21.23 kB / 0.7507 GB, free: 23.57 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.0002672/1.272, allocations: 121.3 kB / 0.7508 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001062/1.272, allocations: 28.09 kB / 0.7508 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.272, allocations: 0 / 0.7508 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/1.272, allocations: 12.44 kB / 0.7509 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/1.272, allocations: 3.906 kB / 0.7509 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/1.273, allocations: 58.12 kB / 0.7509 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.273, allocations: 0.6956 MB / 0.7516 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.273, allocations: 0 / 0.7516 GB, free: 22.69 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)