Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.003915/0.003915, allocations: 177.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6971/0.6971, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.633/1.633, allocations: 221.3 MB / 395 MB, free: 10.17 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.001209/0.001209, allocations: 94.19 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4289/0.4302, allocations: 88.44 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.6112, allocations: 82.29 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6038/1.215, allocations: 111 MB / 0.7417 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.215, allocations: 79.77 kB / 0.7417 GB, free: 11.04 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.00715/1.223, allocations: 2.305 MB / 0.744 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.223, allocations: 8.922 kB / 0.744 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/1.223, allocations: 3.906 kB / 0.744 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.223, allocations: 163.8 kB / 0.7442 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.223, allocations: 0 / 0.7442 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/1.223, allocations: 3.938 kB / 0.7442 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.106e-05/1.223, allocations: 3.875 kB / 0.7442 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/1.223, allocations: 30.38 kB / 0.7442 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/1.223, allocations: 0 / 0.7442 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/1.223, allocations: 9.469 kB / 0.7442 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.223, allocations: 3.906 kB / 0.7442 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/1.223, allocations: 127.3 kB / 0.7443 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/1.223, allocations: 25.64 kB / 0.7444 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/1.223, allocations: 11.36 kB / 0.7444 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/1.223, allocations: 0 / 0.7444 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.223, allocations: 46.25 kB / 0.7444 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/1.223, allocations: 0 / 0.7444 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/1.224, allocations: 34.56 kB / 0.7444 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.224, allocations: 55.38 kB / 0.7445 GB, free: 26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/1.224, allocations: 86.5 kB / 0.7446 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/1.224, allocations: 25.7 kB / 0.7446 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/1.224, allocations: 80.14 kB / 0.7447 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/1.224, allocations: 7.688 kB / 0.7447 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.224, allocations: 160 / 0.7447 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.224, allocations: 323.1 kB / 0.745 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/1.224, allocations: 0 / 0.745 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-06/1.224, allocations: 3.844 kB / 0.745 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.458e-05/1.224, allocations: 1.359 kB / 0.745 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.224, allocations: 1.219 kB / 0.745 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.529e-05/1.224, allocations: 42.48 kB / 0.745 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.224, allocations: 7.719 kB / 0.745 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.224, allocations: 0 / 0.745 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.224, allocations: 4.094 kB / 0.7451 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/1.224, allocations: 11.09 kB / 0.7451 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000447/1.225, allocations: 0.5853 MB / 0.7456 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/1.225, allocations: 4 kB / 0.7456 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/1.225, allocations: 3.984 kB / 0.7456 GB, free: 24.84 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 9.064e-05/1.225, allocations: 110.3 kB / 0.7457 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/1.225, allocations: 3.906 kB / 0.7458 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/1.225, allocations: 47.27 kB / 0.7458 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.225, allocations: 0 / 0.7458 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.225, allocations: 3.938 kB / 0.7458 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.225, allocations: 0 / 0.7458 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/1.225, allocations: 135.8 kB / 0.7459 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.225, allocations: 3.906 kB / 0.7459 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/1.225, allocations: 9.297 kB / 0.7459 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.225, allocations: 5.719 kB / 0.7459 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/1.225, allocations: 0 / 0.7459 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003251/1.226, allocations: 0.582 MB / 0.7465 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.226, allocations: 7.781 kB / 0.7465 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.672e-05/1.226, allocations: 66.5 kB / 0.7466 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002002/1.226, allocations: 444 kB / 0.747 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/1.226, allocations: 80.48 kB / 0.7471 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.226, allocations: 5.328 kB / 0.7471 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/1.226, allocations: 0 / 0.7471 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/1.226, allocations: 0 / 0.7471 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/1.226, allocations: 4.062 kB / 0.7471 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.672e-05/1.226, allocations: 80.89 kB / 0.7472 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007446/1.227, allocations: 15.62 kB / 0.7472 GB, free: 23.23 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.0002056/1.227, allocations: 113.4 kB / 0.7473 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001742/1.227, allocations: 15.38 kB / 0.7473 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.227, allocations: 2.875 kB / 0.7473 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-05/1.227, allocations: 18.77 kB / 0.7473 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/1.227, allocations: 0 / 0.7473 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/1.228, allocations: 51.39 kB / 0.7474 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/1.228, allocations: 0.6863 MB / 0.7481 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/1.228, allocations: 0 / 0.7481 GB, free: 22.37 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)