Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_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.003388/0.003388, allocations: 179.8 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.7383/0.7383, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.703/1.703, allocations: 221.3 MB / 395 MB, free: 10.21 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.000988/0.000988, allocations: 109.4 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4883/0.4893, allocations: 88.42 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.6855, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.654/6.34, allocations: 2.504 GB / 3.137 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/6.34, allocations: 87.95 kB / 3.137 GB, free: 5.012 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 5.641/11.98, allocations: 1.423 GB / 4.56 GB, free: 107.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/11.98, allocations: 7.781 kB / 4.56 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/11.98, allocations: 360.5 kB / 4.561 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/11.98, allocations: 0.9388 MB / 4.562 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/11.98, allocations: 29.94 kB / 4.562 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/11.99, allocations: 63.62 kB / 4.562 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/11.99, allocations: 0.9214 MB / 4.563 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/11.99, allocations: 1.302 MB / 4.564 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/11.99, allocations: 5.312 kB / 4.564 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/11.99, allocations: 3.906 kB / 4.564 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/11.99, allocations: 50 kB / 4.564 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/11.99, allocations: 5.047 MB / 4.569 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/11.99, allocations: 301.3 kB / 4.569 GB, free: 103.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/11.99, allocations: 251.1 kB / 4.57 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008257/11.99, allocations: 1.076 MB / 4.571 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/11.99, allocations: 41.56 kB / 4.571 GB, free: 102.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/11.99, allocations: 0 / 4.571 GB, free: 102.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001823/12, allocations: 0.5712 MB / 4.571 GB, free: 102.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/12, allocations: 84.39 kB / 4.571 GB, free: 102.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/12, allocations: 0.5609 MB / 4.572 GB, free: 102.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/12, allocations: 29.52 kB / 4.572 GB, free: 102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/12, allocations: 461.1 kB / 4.572 GB, free: 101.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/12, allocations: 91.81 kB / 4.572 GB, free: 101.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/12, allocations: 0.875 kB / 4.572 GB, free: 101.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.403e-05/12, allocations: 323 kB / 4.573 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/12, allocations: 150.3 kB / 4.573 GB, free: 101.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/12, allocations: 315 kB / 4.573 GB, free: 101.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/12, allocations: 230.8 kB / 4.573 GB, free: 101.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/12, allocations: 3.938 kB / 4.573 GB, free: 101.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007089/12, allocations: 0.5044 MB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/12, allocations: 11.31 kB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/12, allocations: 4 kB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/12, allocations: 3.781 kB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/12, allocations: 58.83 kB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/12, allocations: 3.969 kB / 4.574 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/12, allocations: 27.91 kB / 4.574 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/12, allocations: 35.81 kB / 4.574 GB, free: 101.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.837e-05/12, allocations: 111.6 kB / 4.574 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/12, allocations: 79.72 kB / 4.574 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/12, allocations: 325.1 kB / 4.574 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/12, allocations: 6.875 kB / 4.574 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/12, allocations: 0 / 4.574 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/12, allocations: 0 / 4.574 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/12, allocations: 2.356 MB / 4.577 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/12, allocations: 4.281 kB / 4.577 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/12, allocations: 48.03 kB / 4.577 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/12, allocations: 10.88 kB / 4.577 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/12, allocations: 11.09 kB / 4.577 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/12, allocations: 19.25 kB / 4.577 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/12, allocations: 3.906 kB / 4.577 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005841/12, allocations: 0.8358 MB / 4.578 GB, free: 99.32 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008681/12.01, allocations: 1.298 MB / 4.579 GB, free: 98.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/12.01, allocations: 205 kB / 4.579 GB, free: 98.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/12.01, allocations: 7.812 kB / 4.579 GB, free: 98.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/12.01, allocations: 13.61 kB / 4.579 GB, free: 98.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/12.01, allocations: 32.97 kB / 4.579 GB, free: 98.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/12.01, allocations: 15.16 kB / 4.579 GB, free: 98.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004452/12.01, allocations: 479.7 kB / 4.58 GB, free: 97.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002525/12.01, allocations: 0.7135 MB / 4.58 GB, free: 97.88 MB / 0.698 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.003734/12.01, allocations: 2.437 MB / 4.583 GB, free: 97.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005626/12.01, allocations: 346.6 kB / 4.583 GB, free: 97.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/12.01, allocations: 3.906 kB / 4.583 GB, free: 97.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/12.01, allocations: 150.1 kB / 4.583 GB, free: 97.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/12.02, allocations: 425.3 kB / 4.584 GB, free: 97.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/12.02, allocations: 1.438 MB / 4.585 GB, free: 96.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009814/12.02, allocations: 1.281 MB / 4.586 GB, free: 96.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.064e-06/12.02, allocations: 0 / 4.586 GB, free: 96.03 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)