Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_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.00291/0.00291, allocations: 181.2 kB / 7.459 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.761/1.761, allocations: 221.3 MB / 395 MB, free: 10.28 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.0009617/0.0009614, allocations: 102.2 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4198/0.4208, allocations: 88.43 MB / 0.5529 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.5918, allocations: 82.31 MB / 0.6333 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.515, allocations: 2.504 GB / 3.137 GB, free: 256.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/6.515, allocations: 80.44 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 5.11/11.63, allocations: 1.423 GB / 4.56 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/11.63, allocations: 14.42 kB / 4.56 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/11.63, allocations: 354.2 kB / 4.561 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/11.63, allocations: 0.9359 MB / 4.562 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/11.63, allocations: 33.38 kB / 4.562 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/11.63, allocations: 65.66 kB / 4.562 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/11.63, allocations: 0.9178 MB / 4.563 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/11.63, allocations: 1.3 MB / 4.564 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/11.63, allocations: 3.375 kB / 4.564 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/11.63, allocations: 8.719 kB / 4.564 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/11.63, allocations: 52.05 kB / 4.564 GB, free: 120.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/11.64, allocations: 5.036 MB / 4.569 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/11.64, allocations: 303.9 kB / 4.569 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/11.64, allocations: 248.5 kB / 4.57 GB, free: 118 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/11.64, allocations: 1.076 MB / 4.571 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/11.64, allocations: 37.78 kB / 4.571 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 2.935e-06/11.64, allocations: 0 / 4.571 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.001905/11.64, allocations: 0.5808 MB / 4.571 GB, free: 116.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/11.64, allocations: 78.95 kB / 4.571 GB, free: 116.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/11.64, allocations: 0.5626 MB / 4.572 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/11.64, allocations: 25.7 kB / 4.572 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/11.64, allocations: 461.2 kB / 4.572 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/11.64, allocations: 92.11 kB / 4.572 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/11.64, allocations: 0 / 4.572 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/11.64, allocations: 324.7 kB / 4.573 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/11.64, allocations: 151.8 kB / 4.573 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/11.64, allocations: 322.5 kB / 4.573 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/11.64, allocations: 233.3 kB / 4.573 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/11.64, allocations: 0 / 4.573 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007636/11.64, allocations: 0.4998 MB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/11.64, allocations: 8.844 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/11.64, allocations: 9.328 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/11.65, allocations: 3.625 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/11.65, allocations: 63.69 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/11.65, allocations: 3.812 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/11.65, allocations: 28.16 kB / 4.574 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/11.65, allocations: 24.38 kB / 4.574 GB, free: 115.6 MB / 0.7136 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 0.0001004/11.65, allocations: 118.7 kB / 4.574 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/11.65, allocations: 79.75 kB / 4.574 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/11.65, allocations: 322.5 kB / 4.574 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/11.65, allocations: 2.844 kB / 4.574 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/11.65, allocations: 0 / 4.574 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/11.65, allocations: 5.422 kB / 4.574 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/11.65, allocations: 2.348 MB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/11.65, allocations: 6.469 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/11.65, allocations: 53.44 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/11.65, allocations: 8.844 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/11.65, allocations: 10.09 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/11.65, allocations: 13.56 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/11.65, allocations: 15.34 kB / 4.577 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007191/11.65, allocations: 0.8277 MB / 4.578 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001022/11.65, allocations: 1.301 MB / 4.579 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/11.65, allocations: 197.3 kB / 4.579 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/11.65, allocations: 10.66 kB / 4.579 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/11.65, allocations: 23.7 kB / 4.579 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/11.65, allocations: 27.55 kB / 4.579 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/11.65, allocations: 16.69 kB / 4.579 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0004861/11.65, allocations: 481.8 kB / 4.58 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00288/11.66, allocations: 0.7146 MB / 4.58 GB, free: 112.4 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.00409/11.66, allocations: 2.427 MB / 4.583 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000528/11.66, allocations: 338.8 kB / 4.583 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/11.66, allocations: 0 / 4.583 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/11.66, allocations: 158.3 kB / 4.583 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/11.66, allocations: 430.2 kB / 4.584 GB, free: 111.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/11.67, allocations: 1.443 MB / 4.585 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/11.67, allocations: 1.281 MB / 4.586 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/11.67, allocations: 0 / 4.586 GB, free: 110.5 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)