Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.003346/0.003346, allocations: 180.8 kB / 7.459 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.7249/0.7249, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.771/1.771, allocations: 221.3 MB / 395 MB, free: 10.22 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.0009736/0.0009737, allocations: 93.09 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4871/0.4881, allocations: 88.44 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.6834, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5829/1.266, allocations: 122.5 MB / 0.753 GB, free: 11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.267, allocations: 87.14 kB / 0.753 GB, free: 11 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03673/1.304, allocations: 11.4 MB / 0.7642 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.304, allocations: 9.531 kB / 0.7642 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/1.304, allocations: 55.33 kB / 0.7642 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.305, allocations: 0.6228 MB / 0.7648 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/1.305, allocations: 6 kB / 0.7649 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/1.305, allocations: 11.88 kB / 0.7649 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002387/1.306, allocations: 117.8 kB / 0.765 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/1.306, allocations: 121.4 kB / 0.7651 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.306, allocations: 3.938 kB / 0.7651 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/1.306, allocations: 1.5 kB / 0.7651 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.306, allocations: 4.891 kB / 0.7651 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/1.307, allocations: 478.4 kB / 0.7656 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/1.307, allocations: 140.7 kB / 0.7657 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.307, allocations: 63.83 kB / 0.7658 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/1.307, allocations: 4.75 kB / 0.7658 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/1.307, allocations: 30.56 kB / 0.7658 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/1.307, allocations: 0 / 0.7658 GB, free: 21.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.000532/1.308, allocations: 190 kB / 0.766 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.308, allocations: 56.91 kB / 0.766 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/1.308, allocations: 265.3 kB / 0.7663 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/1.308, allocations: 25.7 kB / 0.7663 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/1.308, allocations: 122.2 kB / 0.7664 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/1.308, allocations: 26.08 kB / 0.7664 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/1.308, allocations: 0 / 0.7664 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.308, allocations: 339.5 kB / 0.7668 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.309, allocations: 74.36 kB / 0.7668 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/1.309, allocations: 130.1 kB / 0.767 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/1.309, allocations: 94.97 kB / 0.7671 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.309, allocations: 0 / 0.7671 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005673/1.31, allocations: 252.7 kB / 0.7673 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002926/1.31, allocations: 0.7044 MB / 0.768 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.31, allocations: 1.031 kB / 0.768 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.31, allocations: 3.062 kB / 0.768 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.31, allocations: 51.53 kB / 0.768 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.31, allocations: 6.688 kB / 0.768 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.31, allocations: 23.48 kB / 0.7681 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/1.31, allocations: 17.33 kB / 0.7681 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/1.311, allocations: 4 kB / 0.7681 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000376/1.311, allocations: 170.7 kB / 0.7682 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/1.311, allocations: 5.969 kB / 0.7683 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/1.311, allocations: 3.25 kB / 0.7683 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.311, allocations: 46.64 kB / 0.7683 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/1.311, allocations: 2.094 kB / 0.7683 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.311, allocations: 27.27 kB / 0.7683 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.311, allocations: 14.67 kB / 0.7683 GB, free: 20 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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 9.975e-05/1.311, allocations: 116.2 kB / 0.7685 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/1.312, allocations: 22.41 kB / 0.7685 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/1.312, allocations: 171.7 kB / 0.7686 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/1.312, allocations: 2.812 kB / 0.7686 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.312, allocations: 3.906 kB / 0.7686 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.312, allocations: 3.984 kB / 0.7686 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/1.312, allocations: 235.2 kB / 0.7689 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.312, allocations: 4 kB / 0.7689 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.312, allocations: 33.47 kB / 0.7689 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.312, allocations: 0 / 0.7689 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/1.312, allocations: 6.719 kB / 0.7689 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.312, allocations: 0 / 0.7689 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.312, allocations: 0 / 0.7689 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003009/1.313, allocations: 240.4 kB / 0.7691 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000453/1.313, allocations: 0.6078 MB / 0.7697 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.313, allocations: 120.7 kB / 0.7699 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/1.313, allocations: 0 / 0.7699 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/1.314, allocations: 12.5 kB / 0.7699 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/1.314, allocations: 10.67 kB / 0.7699 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/1.314, allocations: 7.766 kB / 0.7699 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002162/1.314, allocations: 213.1 kB / 0.7701 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002047/1.316, allocations: 215 kB / 0.7703 GB, free: 18.62 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 (9): * Single equations (assignments): 9 * 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.0007743/1.317, allocations: 387.2 kB / 0.7707 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005089/1.317, allocations: 244.8 kB / 0.7709 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.317, allocations: 3.938 kB / 0.7709 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/1.317, allocations: 44.7 kB / 0.7709 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/1.318, allocations: 87.16 kB / 0.771 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/1.318, allocations: 322.1 kB / 0.7713 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/1.319, allocations: 0.8131 MB / 0.7721 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.319, allocations: 4 kB / 0.7721 GB, free: 17.44 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)