Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003126/0.003126, allocations: 182.9 kB / 7.461 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.7001/0.7001, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.688/1.688, allocations: 221.3 MB / 395 MB, free: 10.18 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.001072/0.001072, allocations: 93.64 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4436/0.4447, allocations: 88.44 MB / 0.5529 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.6413, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5905/1.232, allocations: 111.1 MB / 0.7418 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.232, allocations: 79.95 kB / 0.7419 GB, free: 10.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.009692/1.242, allocations: 3.465 MB / 0.7452 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.242, allocations: 7.625 kB / 0.7452 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/1.242, allocations: 7.875 kB / 0.7453 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/1.242, allocations: 164.5 kB / 0.7454 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.242, allocations: 0 / 0.7454 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.242, allocations: 0 / 0.7454 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.611e-05/1.242, allocations: 11.62 kB / 0.7454 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.288e-05/1.242, allocations: 31.12 kB / 0.7455 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/1.242, allocations: 0 / 0.7455 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.242, allocations: 0 / 0.7455 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.242, allocations: 3.906 kB / 0.7455 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/1.242, allocations: 129 kB / 0.7456 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/1.242, allocations: 26.14 kB / 0.7456 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/1.242, allocations: 12.64 kB / 0.7456 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.242, allocations: 1.266 kB / 0.7456 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.242, allocations: 34.5 kB / 0.7457 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/1.242, allocations: 0 / 0.7457 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/1.243, allocations: 41.69 kB / 0.7457 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/1.243, allocations: 51.41 kB / 0.7457 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/1.243, allocations: 90.03 kB / 0.7458 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.243, allocations: 29.73 kB / 0.7459 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/1.243, allocations: 80.14 kB / 0.7459 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/1.243, allocations: 8 kB / 0.7459 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/1.243, allocations: 0 / 0.7459 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/1.243, allocations: 317 kB / 0.7462 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/1.243, allocations: 3.844 kB / 0.7462 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/1.243, allocations: 0 / 0.7462 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.318e-05/1.243, allocations: 3.875 kB / 0.7462 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.243, allocations: 4.062 kB / 0.7463 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.931e-05/1.243, allocations: 42.27 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.243, allocations: 3.812 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.243, allocations: 1.172 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/1.243, allocations: 0 / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/1.243, allocations: 11.19 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003275/1.244, allocations: 0.5906 MB / 0.7469 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/1.244, allocations: 3.812 kB / 0.7469 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.244, allocations: 3.938 kB / 0.7469 GB, free: 24.46 MB / 0.5105 GB 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 7.128e-05/1.244, allocations: 101 kB / 0.747 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/1.244, allocations: 6.906 kB / 0.747 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/1.244, allocations: 44.22 kB / 0.747 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.244, allocations: 3.688 kB / 0.747 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.244, allocations: 96 / 0.747 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.244, allocations: 5.078 kB / 0.747 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/1.244, allocations: 139.4 kB / 0.7472 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.244, allocations: 3.906 kB / 0.7472 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/1.244, allocations: 9.859 kB / 0.7472 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/1.244, allocations: 0 / 0.7472 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/1.244, allocations: 0 / 0.7472 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002871/1.244, allocations: 0.5876 MB / 0.7478 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.244, allocations: 3.906 kB / 0.7478 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.622e-05/1.244, allocations: 62.97 kB / 0.7478 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001921/1.245, allocations: 447.4 kB / 0.7483 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/1.245, allocations: 81.23 kB / 0.7483 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/1.245, allocations: 3.938 kB / 0.7483 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/1.245, allocations: 0 / 0.7483 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/1.245, allocations: 5.406 kB / 0.7483 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/1.245, allocations: 0 / 0.7483 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.492e-05/1.245, allocations: 75.28 kB / 0.7484 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007661/1.246, allocations: 20.72 kB / 0.7484 GB, free: 22.87 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 (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.0001951/1.246, allocations: 114.4 kB / 0.7485 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.246, allocations: 21.08 kB / 0.7486 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.246, allocations: 0 / 0.7486 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/1.246, allocations: 14.11 kB / 0.7486 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/1.246, allocations: 3.844 kB / 0.7486 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/1.246, allocations: 50.73 kB / 0.7486 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/1.247, allocations: 0.6985 MB / 0.7493 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/1.247, allocations: 4.125 kB / 0.7493 GB, free: 21.99 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)