Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.003727/0.003727, allocations: 185.5 kB / 7.463 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.7147/0.7147, 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.639/1.639, 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.001091/0.00109, allocations: 106 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5041/0.5052, allocations: 88.41 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.7102, allocations: 82.31 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.707/4.417, allocations: 1.9 GB / 2.534 GB, free: 69.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004358/4.418, allocations: 87.95 kB / 2.534 GB, free: 69.28 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.911/5.329, allocations: 328.4 MB / 2.854 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/5.329, allocations: 12 kB / 2.854 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/5.333, allocations: 0.5862 MB / 2.855 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/5.338, allocations: 2.247 MB / 2.857 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/5.338, allocations: 52 kB / 2.857 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/5.338, allocations: 96 kB / 2.857 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002834/5.341, allocations: 1.876 MB / 2.859 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/5.344, allocations: 1.589 MB / 2.861 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/5.344, allocations: 0 / 2.861 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/5.344, allocations: 11.88 kB / 2.861 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/5.344, allocations: 47.98 kB / 2.861 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009702/5.354, allocations: 5.832 MB / 2.866 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/5.356, allocations: 1.812 MB / 2.868 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/5.357, allocations: 0.6752 MB / 2.869 GB, free: 144 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3036/5.66, allocations: 0.7486 MB / 2.87 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00235/5.663, allocations: 0.8559 MB / 2.87 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 5.53e-06/5.663, allocations: 3.688 kB / 2.87 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.006811/5.67, allocations: 1.596 MB / 2.872 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/5.67, allocations: 259.5 kB / 2.872 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/5.675, allocations: 2.34 MB / 2.875 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006906/5.676, allocations: 29.67 kB / 2.875 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000692/5.677, allocations: 0.5678 MB / 2.875 GB, free: 220 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/5.677, allocations: 440.9 kB / 2.876 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/5.678, allocations: 0 / 2.876 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001175/5.678, allocations: 349.2 kB / 2.876 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/5.679, allocations: 490.3 kB / 2.876 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/5.68, allocations: 0.6815 MB / 2.877 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/5.682, allocations: 0.5744 MB / 2.878 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/5.682, allocations: 0 / 2.878 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.005386/5.687, allocations: 1.529 MB / 2.879 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/5.687, allocations: 3.844 kB / 2.879 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/5.687, allocations: 0 / 2.879 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/5.689, allocations: 211.6 kB / 2.879 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/5.692, allocations: 308.1 kB / 2.88 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/5.699, allocations: 6.502 MB / 2.886 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/5.702, allocations: 126.4 kB / 2.886 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/5.702, allocations: 63 kB / 2.886 GB, free: 213 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 (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/5.703, allocations: 137 kB / 2.886 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006857/5.703, allocations: 178.3 kB / 2.886 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007757/5.711, allocations: 2.017 MB / 2.888 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/5.711, allocations: 17.97 kB / 2.888 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/5.711, allocations: 3.594 kB / 2.888 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/5.711, allocations: 7.594 kB / 2.888 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/5.722, allocations: 3.85 MB / 2.892 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/5.723, allocations: 0 / 2.892 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/5.725, allocations: 320.6 kB / 2.892 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/5.727, allocations: 207.9 kB / 2.893 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/5.727, allocations: 30.61 kB / 2.893 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/5.733, allocations: 6.53 MB / 2.899 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/5.733, allocations: 0 / 2.899 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005825/5.739, allocations: 1.727 MB / 2.901 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006608/5.746, allocations: 2.193 MB / 2.903 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/5.748, allocations: 0.6578 MB / 2.904 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000757/5.749, allocations: 3.688 kB / 2.904 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/5.751, allocations: 111.3 kB / 2.904 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/5.752, allocations: 82.16 kB / 2.904 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/5.752, allocations: 84.06 kB / 2.904 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003666/5.756, allocations: 1.82 MB / 2.906 GB, free: 205 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005438/5.761, allocations: 0.9211 MB / 2.906 GB, free: 204.9 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00359/5.765, allocations: 1.745 MB / 2.908 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003673/5.768, allocations: 1.709 MB / 2.91 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/5.768, allocations: 4.156 kB / 2.91 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/5.771, allocations: 1.208 MB / 2.911 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/5.774, allocations: 416.9 kB / 2.911 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/5.786, allocations: 2.906 MB / 2.914 GB, free: 203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004156/5.79, allocations: 1.852 MB / 2.916 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.214e-06/5.79, allocations: 3.281 kB / 2.916 GB, free: 202.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)