Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_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.003178/0.003179, allocations: 177.3 kB / 7.455 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6827/0.6827, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.593/1.593, allocations: 221.3 MB / 395 MB, free: 10.24 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.0009575/0.0009574, allocations: 85.84 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4985/0.4995, allocations: 88.43 MB / 0.5529 GB, free: 88.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.6985, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.211/6.91, allocations: 2.504 GB / 3.137 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.91, allocations: 84.39 kB / 3.137 GB, free: 256.3 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.191/12.1, allocations: 1.423 GB / 4.56 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/12.1, allocations: 12.38 kB / 4.56 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/12.1, allocations: 356.4 kB / 4.561 GB, free: 122.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/12.1, allocations: 0.944 MB / 4.562 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/12.1, allocations: 38.88 kB / 4.562 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/12.11, allocations: 61.69 kB / 4.562 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001502/12.11, allocations: 0.928 MB / 4.563 GB, free: 122.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/12.11, allocations: 1.319 MB / 4.564 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/12.11, allocations: 6.562 kB / 4.564 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/12.11, allocations: 3.625 kB / 4.564 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/12.11, allocations: 52.16 kB / 4.564 GB, free: 122.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/12.12, allocations: 5.046 MB / 4.569 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/12.12, allocations: 309.3 kB / 4.569 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/12.12, allocations: 249 kB / 4.57 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/12.12, allocations: 1.073 MB / 4.571 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/12.12, allocations: 37 kB / 4.571 GB, free: 118 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 5.269e-06/12.12, allocations: 2.812 kB / 4.571 GB, free: 118 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.002461/12.12, allocations: 0.578 MB / 4.571 GB, free: 117.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/12.12, allocations: 83.89 kB / 4.571 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/12.12, allocations: 0.5513 MB / 4.572 GB, free: 117.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/12.12, allocations: 34 kB / 4.572 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/12.12, allocations: 458.7 kB / 4.572 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/12.12, allocations: 95.77 kB / 4.572 GB, free: 117.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/12.12, allocations: 3.625 kB / 4.572 GB, free: 117.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001152/12.12, allocations: 309.9 kB / 4.573 GB, free: 117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/12.12, allocations: 151.2 kB / 4.573 GB, free: 117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/12.12, allocations: 303.3 kB / 4.573 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/12.12, allocations: 222 kB / 4.573 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/12.12, allocations: 0 / 4.573 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007935/12.12, allocations: 493 kB / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/12.12, allocations: 10.47 kB / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/12.12, allocations: 0 / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/12.12, allocations: 9.438 kB / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/12.13, allocations: 56.36 kB / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/12.13, allocations: 6.219 kB / 4.574 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/12.13, allocations: 29 kB / 4.574 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/12.13, allocations: 24.81 kB / 4.574 GB, free: 116.7 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 0.0001147/12.13, allocations: 114.1 kB / 4.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/12.13, allocations: 78.69 kB / 4.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/12.13, allocations: 324.7 kB / 4.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/12.13, allocations: 3.562 kB / 4.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/12.13, allocations: 3.844 kB / 4.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/12.13, allocations: 6.125 kB / 4.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/12.13, allocations: 2.364 MB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/12.13, allocations: 3.406 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/12.13, allocations: 51.53 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/12.13, allocations: 9.906 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/12.13, allocations: 7.688 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/12.13, allocations: 14.36 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/12.13, allocations: 13.25 kB / 4.577 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009192/12.13, allocations: 0.8329 MB / 4.578 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001349/12.13, allocations: 1.29 MB / 4.579 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/12.13, allocations: 201.9 kB / 4.579 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/12.13, allocations: 15.03 kB / 4.579 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/12.13, allocations: 11.16 kB / 4.579 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/12.13, allocations: 40 kB / 4.579 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/12.13, allocations: 19.28 kB / 4.579 GB, free: 113.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005867/12.13, allocations: 470 kB / 4.58 GB, free: 113.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003109/12.14, allocations: 0.7125 MB / 4.58 GB, free: 113.5 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.00503/12.14, allocations: 2.435 MB / 4.583 GB, free: 113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006413/12.14, allocations: 331 kB / 4.583 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/12.14, allocations: 0 / 4.583 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/12.14, allocations: 158.7 kB / 4.583 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/12.15, allocations: 417.5 kB / 4.584 GB, free: 112.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/12.15, allocations: 1.457 MB / 4.585 GB, free: 112.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/12.15, allocations: 1.292 MB / 4.586 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/12.15, allocations: 0 / 4.586 GB, free: 111.6 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)