Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.002356/0.002356, allocations: 180.2 kB / 7.458 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.7434/0.7434, 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.601/1.601, allocations: 221.3 MB / 395 MB, free: 10.16 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.001012/0.001012, allocations: 94.12 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.426/0.4271, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.5963, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.082/6.679, allocations: 2.504 GB / 3.137 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/6.679, allocations: 81.84 kB / 3.137 GB, free: 255.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 5.132/11.81, allocations: 1.423 GB / 4.56 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/11.81, allocations: 9.875 kB / 4.56 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/11.81, allocations: 357 kB / 4.561 GB, free: 122.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/11.81, allocations: 0.9503 MB / 4.562 GB, free: 122 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/11.81, allocations: 37.34 kB / 4.562 GB, free: 122 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/11.81, allocations: 64.31 kB / 4.562 GB, free: 122 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/11.82, allocations: 0.9263 MB / 4.563 GB, free: 122 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/11.82, allocations: 1.317 MB / 4.564 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/11.82, allocations: 4.812 kB / 4.564 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/11.82, allocations: 7.453 kB / 4.564 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/11.82, allocations: 58.02 kB / 4.564 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/11.82, allocations: 5.035 MB / 4.569 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/11.82, allocations: 303.1 kB / 4.569 GB, free: 118.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/11.82, allocations: 252.9 kB / 4.57 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008853/11.83, allocations: 1.07 MB / 4.571 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/11.83, allocations: 46.84 kB / 4.571 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 2.454e-06/11.83, allocations: 6.938 kB / 4.571 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001842/11.83, allocations: 0.5759 MB / 4.571 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/11.83, allocations: 80.05 kB / 4.571 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/11.83, allocations: 0.5513 MB / 4.572 GB, free: 117.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/11.83, allocations: 33.33 kB / 4.572 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/11.83, allocations: 465.2 kB / 4.572 GB, free: 117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/11.83, allocations: 92.78 kB / 4.572 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/11.83, allocations: 0 / 4.572 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/11.83, allocations: 315.9 kB / 4.573 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/11.83, allocations: 144.7 kB / 4.573 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/11.83, allocations: 296.5 kB / 4.573 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/11.83, allocations: 230.8 kB / 4.573 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/11.83, allocations: 0 / 4.573 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006993/11.83, allocations: 494.8 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/11.83, allocations: 9.359 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/11.83, allocations: 3.781 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/11.83, allocations: 15.22 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/11.83, allocations: 55.62 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/11.83, allocations: 7.812 kB / 4.574 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/11.83, allocations: 25.94 kB / 4.574 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/11.83, allocations: 25 kB / 4.574 GB, free: 116.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.251e-05/11.83, allocations: 112.7 kB / 4.574 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/11.83, allocations: 75.69 kB / 4.574 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/11.83, allocations: 320.3 kB / 4.574 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/11.83, allocations: 2.594 kB / 4.574 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/11.83, allocations: 3.609 kB / 4.574 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/11.83, allocations: 0 / 4.574 GB, free: 116.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/11.83, allocations: 2.361 MB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/11.83, allocations: 5.531 kB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/11.83, allocations: 51.94 kB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/11.83, allocations: 12.06 kB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/11.83, allocations: 7.188 kB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/11.84, allocations: 15.84 kB / 4.577 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/11.84, allocations: 10.59 kB / 4.577 GB, free: 115.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007968/11.84, allocations: 0.8358 MB / 4.578 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001059/11.84, allocations: 1.289 MB / 4.579 GB, free: 113.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/11.84, allocations: 202.4 kB / 4.579 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/11.84, allocations: 14.31 kB / 4.579 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/11.84, allocations: 15.06 kB / 4.579 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/11.84, allocations: 37.67 kB / 4.579 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/11.84, allocations: 20.62 kB / 4.579 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0004959/11.84, allocations: 468.2 kB / 4.58 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003015/11.84, allocations: 0.7163 MB / 4.58 GB, free: 113.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.005196/11.85, allocations: 2.427 MB / 4.583 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009161/11.85, allocations: 337.8 kB / 4.583 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/11.85, allocations: 0 / 4.583 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/11.85, allocations: 156.1 kB / 4.583 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/11.85, allocations: 427.3 kB / 4.584 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/11.85, allocations: 1.454 MB / 4.585 GB, free: 111.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/11.85, allocations: 1.291 MB / 4.586 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.613e-06/11.85, allocations: 3.938 kB / 4.586 GB, free: 111.2 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)