Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="IDEAS_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.00326/0.00326, allocations: 180.2 kB / 7.458 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.7733/0.7733, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.688/1.688, allocations: 221.3 MB / 395 MB, free: 10.16 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.001006/0.001005, allocations: 102.1 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4944/0.4955, allocations: 88.42 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.6911, allocations: 82.31 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.909/4.6, allocations: 1.715 GB / 2.348 GB, free: 250.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/4.601, allocations: 90.8 kB / 2.348 GB, free: 250.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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 1.326/5.927, allocations: 417.1 MB / 2.755 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/5.927, allocations: 12 kB / 2.755 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04738/5.974, allocations: 7.075 MB / 2.762 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/5.986, allocations: 3.692 MB / 2.766 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005172/5.987, allocations: 268 kB / 2.766 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/5.991, allocations: 471.7 kB / 2.767 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02785/6.019, allocations: 10.65 MB / 2.777 GB, free: 77.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/6.048, allocations: 8.792 MB / 2.786 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002012/6.048, allocations: 3.562 kB / 2.786 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/6.05, allocations: 4 kB / 2.786 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/6.05, allocations: 204 kB / 2.786 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0705/6.121, allocations: 31.26 MB / 2.816 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/6.134, allocations: 6.789 MB / 2.823 GB, free: 30.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006476/6.14, allocations: 3.787 MB / 2.827 GB, free: 26.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/6.142, allocations: 0.678 MB / 2.827 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008522/6.15, allocations: 4.505 MB / 2.832 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 8.997e-06/6.15, allocations: 4 kB / 2.832 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.0181/6.168, allocations: 8.151 MB / 2.84 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/6.169, allocations: 459 kB / 2.84 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/6.172, allocations: 2.096 MB / 2.842 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001654/6.174, allocations: 29.7 kB / 2.842 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/6.176, allocations: 2.199 MB / 2.844 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002982/6.179, allocations: 2.143 MB / 2.847 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/6.179, allocations: 0 / 2.847 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000322/6.18, allocations: 0.5265 MB / 2.847 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00538/6.185, allocations: 3.007 MB / 2.85 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6933/6.878, allocations: 3.538 MB / 2.853 GB, free: 198.2 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/6.891, allocations: 3.942 MB / 2.857 GB, free: 198.1 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/6.891, allocations: 0 / 2.857 GB, free: 198.1 MB / 0.6824 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03853/6.93, allocations: 8.475 MB / 2.866 GB, free: 197.9 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/6.93, allocations: 3.969 kB / 2.866 GB, free: 197.9 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-05/6.93, allocations: 8.141 kB / 2.866 GB, free: 197.9 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/6.932, allocations: 189 kB / 2.866 GB, free: 197.9 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/6.948, allocations: 2.027 MB / 2.868 GB, free: 197.9 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/6.952, allocations: 2.925 MB / 2.871 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/6.966, allocations: 0.9772 MB / 2.872 GB, free: 195.5 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004295/6.971, allocations: 312.4 kB / 2.872 GB, free: 195.5 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.006484/6.977, allocations: 197.3 kB / 2.872 GB, free: 195.4 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004573/6.982, allocations: 447.1 kB / 2.872 GB, free: 195.4 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05066/7.032, allocations: 10.54 MB / 2.883 GB, free: 195 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001322/7.033, allocations: 74.56 kB / 2.883 GB, free: 195 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.329e-05/7.033, allocations: 0 / 2.883 GB, free: 195 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003149/7.033, allocations: 31.88 kB / 2.883 GB, free: 195 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06324/7.096, allocations: 18.11 MB / 2.901 GB, free: 193.9 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.837e-05/7.096, allocations: 0 / 2.901 GB, free: 193.9 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01561/7.112, allocations: 1.91 MB / 2.902 GB, free: 193.9 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/7.113, allocations: 185.1 kB / 2.903 GB, free: 193.9 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003464/7.117, allocations: 146.5 kB / 2.903 GB, free: 193.9 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/7.121, allocations: 2.968 MB / 2.906 GB, free: 191.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/7.121, allocations: 0 / 2.906 GB, free: 191.5 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03096/7.152, allocations: 8.463 MB / 2.914 GB, free: 189 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03304/7.185, allocations: 8.939 MB / 2.923 GB, free: 185.1 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007252/7.192, allocations: 1.83 MB / 2.924 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004607/7.197, allocations: 13.31 kB / 2.924 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01366/7.21, allocations: 0.7239 MB / 2.925 GB, free: 184.1 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003288/7.214, allocations: 365.4 kB / 2.925 GB, free: 184 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003563/7.217, allocations: 271 kB / 2.926 GB, free: 183.9 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.005352/7.223, allocations: 1.78 MB / 2.927 GB, free: 183.2 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.01588/7.239, allocations: 1.965 MB / 2.929 GB, free: 182.8 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.005704/7.244, allocations: 1.26 MB / 2.931 GB, free: 182.7 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02718/7.272, allocations: 7.827 MB / 2.938 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/7.272, allocations: 0 / 2.938 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/7.284, allocations: 4.368 MB / 2.943 GB, free: 177.4 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007677/7.292, allocations: 0.5608 MB / 2.943 GB, free: 177.2 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04669/7.339, allocations: 10.59 MB / 2.953 GB, free: 172.9 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01911/7.358, allocations: 4.35 MB / 2.958 GB, free: 171.9 MB / 0.6824 GB Notification: Performance of SimCode: time 2.104e-06/7.358, allocations: 0 / 2.958 GB, free: 171.9 MB / 0.6824 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD400.fmu > IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)