Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001149/0.001149, allocations: 183.3 kB / 7.463 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.699/0.699, allocations: 133.5 MB / 141.4 MB, free: 3.762 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.3 MB / 395 MB, free: 14.09 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 104.8 kB / 477.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5144/0.5154, allocations: 88.44 MB / 0.5529 GB, free: 90.93 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.7095, allocations: 82.29 MB / 0.6333 GB, free: 38.38 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.8619, allocations: 111 MB / 0.7417 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.8622, allocations: 75.95 kB / 0.7418 GB, free: 7.188 MB / 0.5294 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.007003/0.8692, allocations: 2.306 MB / 0.744 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.8693, allocations: 8 kB / 0.744 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.8693, allocations: 3.906 kB / 0.744 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.8694, allocations: 167 kB / 0.7442 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8694, allocations: 0 / 0.7442 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.8695, allocations: 3.938 kB / 0.7442 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.292e-05/0.8695, allocations: 4 kB / 0.7442 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.036e-05/0.8696, allocations: 33.69 kB / 0.7442 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.8696, allocations: 0 / 0.7442 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8696, allocations: 4 kB / 0.7442 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8696, allocations: 3.906 kB / 0.7442 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.8698, allocations: 126.2 kB / 0.7443 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.8698, allocations: 22.55 kB / 0.7444 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.8699, allocations: 12.92 kB / 0.7444 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.8699, allocations: 7.984 kB / 0.7444 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.8699, allocations: 30.56 kB / 0.7444 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.8699, allocations: 4 kB / 0.7444 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.8701, allocations: 29.7 kB / 0.7444 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.8701, allocations: 51.41 kB / 0.7445 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.8702, allocations: 89 kB / 0.7446 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.8702, allocations: 25.7 kB / 0.7446 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.8702, allocations: 88.3 kB / 0.7447 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.8703, allocations: 3.906 kB / 0.7447 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.8703, allocations: 0 / 0.7447 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8704, allocations: 322.7 kB / 0.745 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.8704, allocations: 7.875 kB / 0.745 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.8704, allocations: 0 / 0.745 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.235e-05/0.8705, allocations: 4 kB / 0.745 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8705, allocations: 0 / 0.745 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.741e-05/0.8705, allocations: 41.77 kB / 0.745 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8706, allocations: 6.188 kB / 0.7451 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8706, allocations: 0 / 0.7451 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.8706, allocations: 4 kB / 0.7451 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.8707, allocations: 7.984 kB / 0.7451 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004112/0.8712, allocations: 0.5937 MB / 0.7456 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.8712, allocations: 4.109 kB / 0.7456 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.8712, allocations: 8.031 kB / 0.7457 GB, free: 2.965 MB / 0.5294 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.438e-05/0.8713, allocations: 101 kB / 0.7458 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.8713, allocations: 3.906 kB / 0.7458 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.8714, allocations: 45 kB / 0.7458 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.8714, allocations: 0 / 0.7458 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8715, allocations: 0 / 0.7458 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8715, allocations: 8 kB / 0.7458 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.056e-05/0.8716, allocations: 126.3 kB / 0.7459 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.8716, allocations: 3.906 kB / 0.7459 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.973e-05/0.8717, allocations: 11.98 kB / 0.7459 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8717, allocations: 0 / 0.7459 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.8717, allocations: 3.938 kB / 0.7459 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003209/0.872, allocations: 0.586 MB / 0.7465 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.872, allocations: 3.906 kB / 0.7465 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.21e-05/0.8721, allocations: 69.25 kB / 0.7466 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001859/0.8723, allocations: 445.4 kB / 0.747 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.8723, allocations: 81.05 kB / 0.7471 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.8724, allocations: 4.062 kB / 0.7471 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.8724, allocations: 8 kB / 0.7471 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.8724, allocations: 0 / 0.7471 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.8724, allocations: 0 / 0.7471 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.037e-05/0.8724, allocations: 75.28 kB / 0.7472 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007367/0.8732, allocations: 19.89 kB / 0.7472 GB, free: 1.254 MB / 0.5294 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.0002067/0.8734, allocations: 115.1 kB / 0.7473 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.8736, allocations: 24.08 kB / 0.7473 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8736, allocations: 0 / 0.7473 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.8737, allocations: 11.98 kB / 0.7473 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.8738, allocations: 10.44 kB / 0.7473 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.874, allocations: 48 kB / 0.7474 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.8743, allocations: 0.688 MB / 0.7481 GB, free: 312 kB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.8744, allocations: 0 / 0.7481 GB, free: 312 kB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)