Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400",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.002742/0.002742, allocations: 176.8 kB / 7.458 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.6988/0.6988, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.436/1.436, allocations: 221.3 MB / 395 MB, free: 10.19 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.0009182/0.0009181, allocations: 95.47 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4118/0.4127, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.5988, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.021/4.62, allocations: 1.715 GB / 2.348 GB, free: 249.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.62, allocations: 87.14 kB / 2.348 GB, free: 249.8 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 1.454/6.074, allocations: 417.1 MB / 2.755 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/6.074, allocations: 10.47 kB / 2.755 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04854/6.122, allocations: 7.083 MB / 2.762 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/6.136, allocations: 3.686 MB / 2.766 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/6.137, allocations: 268.6 kB / 2.766 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004749/6.142, allocations: 468 kB / 2.767 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03242/6.174, allocations: 10.65 MB / 2.777 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0422/6.216, allocations: 8.802 MB / 2.786 GB, free: 68.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/6.217, allocations: 0 / 2.786 GB, free: 68.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004613/6.222, allocations: 4 kB / 2.786 GB, free: 68.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/6.222, allocations: 200 kB / 2.786 GB, free: 68.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08926/6.311, allocations: 31.26 MB / 2.816 GB, free: 36.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01933/6.331, allocations: 6.798 MB / 2.823 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01045/6.341, allocations: 3.785 MB / 2.827 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00222/6.343, allocations: 0.6785 MB / 2.827 GB, free: 25.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01637/6.36, allocations: 4.498 MB / 2.832 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 2.482e-05/6.36, allocations: 3.562 kB / 2.832 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.03525/6.395, allocations: 8.152 MB / 2.84 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/6.395, allocations: 463.1 kB / 2.84 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007322/6.403, allocations: 2.099 MB / 2.842 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.003811/6.407, allocations: 29.7 kB / 2.842 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/6.41, allocations: 2.191 MB / 2.844 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.006807/6.417, allocations: 2.148 MB / 2.847 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003672/6.421, allocations: 0 / 2.847 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0008313/6.422, allocations: 0.5187 MB / 2.847 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009777/6.431, allocations: 3.007 MB / 2.85 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8856/7.317, allocations: 3.539 MB / 2.853 GB, free: 198.8 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/7.333, allocations: 3.943 MB / 2.857 GB, free: 198.7 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/7.333, allocations: 0 / 2.857 GB, free: 198.7 MB / 0.6824 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03911/7.372, allocations: 8.479 MB / 2.866 GB, free: 198.5 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/7.372, allocations: 3.812 kB / 2.866 GB, free: 198.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/7.372, allocations: 8.75 kB / 2.866 GB, free: 198.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/7.374, allocations: 193.3 kB / 2.866 GB, free: 198.5 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/7.391, allocations: 2.024 MB / 2.868 GB, free: 198.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/7.397, allocations: 2.928 MB / 2.871 GB, free: 196.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/7.411, allocations: 0.9764 MB / 2.872 GB, free: 196.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003709/7.415, allocations: 315.2 kB / 2.872 GB, free: 196.1 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006441/7.421, allocations: 191.7 kB / 2.872 GB, free: 195.9 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004749/7.426, allocations: 447.8 kB / 2.872 GB, free: 195.9 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04944/7.475, allocations: 10.54 MB / 2.883 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/7.475, allocations: 72.72 kB / 2.883 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.579e-05/7.476, allocations: 6.938 kB / 2.883 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002861/7.476, allocations: 37.69 kB / 2.883 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05805/7.534, allocations: 18.11 MB / 2.901 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.417e-05/7.534, allocations: 2.594 kB / 2.901 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01535/7.549, allocations: 1.911 MB / 2.902 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/7.551, allocations: 183.8 kB / 2.903 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003058/7.554, allocations: 144.2 kB / 2.903 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/7.558, allocations: 2.965 MB / 2.906 GB, free: 192 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/7.558, allocations: 2 kB / 2.906 GB, free: 192 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03524/7.593, allocations: 8.465 MB / 2.914 GB, free: 189.5 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03639/7.629, allocations: 8.939 MB / 2.923 GB, free: 185.6 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008271/7.638, allocations: 1.828 MB / 2.924 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004417/7.642, allocations: 11.17 kB / 2.924 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01286/7.655, allocations: 0.7223 MB / 2.925 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002561/7.658, allocations: 361.9 kB / 2.925 GB, free: 184.5 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003034/7.661, allocations: 275.2 kB / 2.926 GB, free: 184.5 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.005354/7.666, allocations: 1.777 MB / 2.927 GB, free: 183.7 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.01394/7.68, allocations: 1.965 MB / 2.929 GB, free: 183.4 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006205/7.686, allocations: 1.266 MB / 2.931 GB, free: 183.2 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02453/7.711, allocations: 7.827 MB / 2.938 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/7.711, allocations: 3.344 kB / 2.938 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01402/7.725, allocations: 4.366 MB / 2.943 GB, free: 177.9 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/7.733, allocations: 0.5711 MB / 2.943 GB, free: 177.8 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05478/7.788, allocations: 10.57 MB / 2.953 GB, free: 173.4 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01922/7.808, allocations: 4.352 MB / 2.958 GB, free: 172.4 MB / 0.6824 GB Notification: Performance of SimCode: time 2.094e-06/7.808, allocations: 3.906 kB / 2.958 GB, free: 172.4 MB / 0.6824 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)