Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.005643/0.005643, allocations: 184 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7569/0.7569, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.605/1.605, allocations: 221.3 MB / 395 MB, free: 10.22 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.001066/0.001066, allocations: 107.2 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4652/0.4663, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.6736, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.46/5.134, allocations: 1.9 GB / 2.534 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/5.134, allocations: 79.95 kB / 2.534 GB, free: 61.76 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.7458/5.88, allocations: 154.7 MB / 2.685 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/5.88, allocations: 8 kB / 2.685 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/5.882, allocations: 290.2 kB / 2.685 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/5.883, allocations: 0.8242 MB / 2.686 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/5.883, allocations: 32 kB / 2.686 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/5.883, allocations: 56 kB / 2.686 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/5.885, allocations: 1.148 MB / 2.687 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/5.886, allocations: 0.8754 MB / 2.688 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/5.886, allocations: 3.938 kB / 2.688 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.281e-05/5.887, allocations: 4 kB / 2.688 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/5.887, allocations: 20 kB / 2.688 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/5.892, allocations: 3.001 MB / 2.691 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/5.893, allocations: 0.8988 MB / 2.692 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/5.893, allocations: 339.1 kB / 2.692 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/5.894, allocations: 218.4 kB / 2.692 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/5.894, allocations: 487.7 kB / 2.693 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.036e-06/5.894, allocations: 0 / 2.693 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.002136/5.896, allocations: 0.8426 MB / 2.693 GB, free: 176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/5.897, allocations: 240.1 kB / 2.694 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/5.897, allocations: 0.7226 MB / 2.694 GB, free: 175 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.872e-05/5.897, allocations: 25.7 kB / 2.694 GB, free: 175 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/5.898, allocations: 340.2 kB / 2.695 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/5.898, allocations: 275.9 kB / 2.695 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/5.898, allocations: 0 / 2.695 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/5.898, allocations: 334 kB / 2.695 GB, free: 174 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/5.898, allocations: 249.5 kB / 2.696 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/5.899, allocations: 378.1 kB / 2.696 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/5.899, allocations: 318.2 kB / 2.696 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.899, allocations: 0 / 2.696 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001678/5.901, allocations: 0.8311 MB / 2.697 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/5.901, allocations: 4 kB / 2.697 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/5.901, allocations: 0 / 2.697 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/5.902, allocations: 121.7 kB / 2.697 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008712/5.903, allocations: 183.8 kB / 2.697 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/5.905, allocations: 2.74 MB / 2.7 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/5.906, allocations: 95.38 kB / 2.7 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/5.906, allocations: 35.97 kB / 2.7 GB, free: 168.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/5.906, allocations: 121.4 kB / 2.7 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/5.906, allocations: 90.88 kB / 2.7 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/5.909, allocations: 1.128 MB / 2.701 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/5.909, allocations: 12 kB / 2.701 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/5.909, allocations: 0 / 2.701 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/5.909, allocations: 3.984 kB / 2.701 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/5.912, allocations: 2.087 MB / 2.704 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/5.912, allocations: 0 / 2.704 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/5.913, allocations: 195.8 kB / 2.704 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/5.914, allocations: 113.6 kB / 2.704 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/5.914, allocations: 19.97 kB / 2.704 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/5.916, allocations: 2.768 MB / 2.707 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/5.916, allocations: 0 / 2.707 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002327/5.918, allocations: 0.9988 MB / 2.708 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002264/5.921, allocations: 1.436 MB / 2.709 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/5.921, allocations: 335.6 kB / 2.709 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/5.922, allocations: 7.906 kB / 2.709 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/5.923, allocations: 79.92 kB / 2.709 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/5.923, allocations: 60.84 kB / 2.709 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/5.923, allocations: 39.97 kB / 2.709 GB, free: 159 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008257/5.924, allocations: 0.5772 MB / 2.71 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002793/5.926, allocations: 0.5964 MB / 2.711 GB, free: 157.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003707/5.93, allocations: 1.387 MB / 2.712 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002304/5.933, allocations: 0.8862 MB / 2.713 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/5.933, allocations: 0 / 2.713 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/5.934, allocations: 0.6163 MB / 2.713 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/5.936, allocations: 265.7 kB / 2.714 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/5.941, allocations: 1.624 MB / 2.715 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/5.942, allocations: 1.24 MB / 2.716 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/5.942, allocations: 0 / 2.716 GB, free: 151.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)