Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.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.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside",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.003746/0.003746, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7163/0.7163, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.486/1.486, allocations: 221.3 MB / 395 MB, free: 10.2 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.001087/0.001087, allocations: 102 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4/0.4011, allocations: 88.42 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.5665, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.958/4.524, allocations: 1.869 GB / 2.503 GB, free: 56.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/4.524, allocations: 82.45 kB / 2.503 GB, free: 56.43 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 1.528/6.052, allocations: 401.3 MB / 2.895 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/6.052, allocations: 10.09 kB / 2.895 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/6.055, allocations: 364.3 kB / 2.895 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/6.058, allocations: 1.123 MB / 2.896 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/6.058, allocations: 35.91 kB / 2.896 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/6.058, allocations: 70.41 kB / 2.896 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002094/6.06, allocations: 1.296 MB / 2.898 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/6.062, allocations: 1.044 MB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/6.062, allocations: 0 / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/6.062, allocations: 3.219 kB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/6.062, allocations: 25.06 kB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/6.068, allocations: 3.53 MB / 2.902 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/6.07, allocations: 0.9396 MB / 2.903 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/6.07, allocations: 400.4 kB / 2.903 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/6.071, allocations: 0.4983 MB / 2.904 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/6.072, allocations: 0.5412 MB / 2.904 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=97): time 4.178e-06/6.072, allocations: 3.562 kB / 2.904 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97): time 0.003411/6.075, allocations: 1.121 MB / 2.905 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/6.075, allocations: 247 kB / 2.906 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/6.076, allocations: 0.6082 MB / 2.906 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/6.076, allocations: 29.64 kB / 2.906 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/6.077, allocations: 400.9 kB / 2.907 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/6.077, allocations: 310.5 kB / 2.907 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/6.077, allocations: 3.75 kB / 2.907 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001325/6.077, allocations: 343.5 kB / 2.907 GB, free: 146 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/6.078, allocations: 306.9 kB / 2.908 GB, free: 146 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/6.078, allocations: 457.1 kB / 2.908 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/6.08, allocations: 0.5162 MB / 2.909 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/6.08, allocations: 2.219 kB / 2.909 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002528/6.082, allocations: 1.093 MB / 2.91 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/6.082, allocations: 6.75 kB / 2.91 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/6.082, allocations: 3.062 kB / 2.91 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/6.083, allocations: 82.72 kB / 2.91 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/6.084, allocations: 209.1 kB / 2.91 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/6.086, allocations: 1.469 MB / 2.911 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/6.087, allocations: 92.42 kB / 2.911 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/6.087, allocations: 40.31 kB / 2.911 GB, free: 144.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000252/6.087, allocations: 128.3 kB / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/6.087, allocations: 98.53 kB / 2.912 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/6.091, allocations: 1.443 MB / 2.913 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/6.091, allocations: 11.75 kB / 2.913 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/6.091, allocations: 3.906 kB / 2.913 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/6.091, allocations: 3.797 kB / 2.913 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/6.096, allocations: 2.541 MB / 2.916 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/6.096, allocations: 7.719 kB / 2.916 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/6.097, allocations: 199.6 kB / 2.916 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000552/6.098, allocations: 89.81 kB / 2.916 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/6.098, allocations: 20.69 kB / 2.916 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/6.099, allocations: 1.503 MB / 2.917 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/6.1, allocations: 5.656 kB / 2.917 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003912/6.103, allocations: 1.825 MB / 2.919 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005832/6.109, allocations: 2.823 MB / 2.922 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/6.111, allocations: 342 kB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/6.111, allocations: 7.062 kB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/6.112, allocations: 76.7 kB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/6.113, allocations: 61.61 kB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/6.113, allocations: 42.78 kB / 2.922 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00121/6.114, allocations: 0.4943 MB / 2.923 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0035/6.117, allocations: 0.7345 MB / 2.924 GB, free: 141 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003709/6.121, allocations: 1.976 MB / 2.926 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00177/6.123, allocations: 0.9131 MB / 2.926 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/6.123, allocations: 0 / 2.926 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009326/6.124, allocations: 0.5826 MB / 2.927 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/6.126, allocations: 338.1 kB / 2.927 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/6.132, allocations: 1.964 MB / 2.929 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/6.134, allocations: 1.303 MB / 2.931 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/6.134, allocations: 0 / 2.931 GB, free: 139.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)