Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",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.004581/0.004581, allocations: 182.9 kB / 7.461 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.6945/0.6945, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.445/1.445, 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.001274/0.001274, allocations: 99.45 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4184/0.4198, allocations: 88.42 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.5871, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.73/4.317, allocations: 1.715 GB / 2.348 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/4.317, allocations: 84.08 kB / 2.348 GB, free: 251.6 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.416/5.733, allocations: 417.1 MB / 2.755 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/5.733, allocations: 10.62 kB / 2.755 GB, free: 97.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04772/5.781, allocations: 7.079 MB / 2.762 GB, free: 90.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/5.793, allocations: 3.693 MB / 2.766 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006073/5.794, allocations: 268 kB / 2.766 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004517/5.798, allocations: 472 kB / 2.767 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03069/5.829, allocations: 10.65 MB / 2.777 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/5.862, allocations: 8.793 MB / 2.786 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/5.863, allocations: 8 kB / 2.786 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/5.866, allocations: 3.984 kB / 2.786 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/5.867, allocations: 204 kB / 2.786 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08248/5.949, allocations: 31.26 MB / 2.816 GB, free: 38.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/5.966, allocations: 6.805 MB / 2.823 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009354/5.975, allocations: 3.782 MB / 2.827 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/5.977, allocations: 0.6729 MB / 2.827 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01297/5.99, allocations: 4.506 MB / 2.832 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 1.555e-05/5.99, allocations: 0 / 2.832 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.03061/6.021, allocations: 8.152 MB / 2.84 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/6.021, allocations: 463.1 kB / 2.84 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/6.027, allocations: 2.103 MB / 2.842 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002884/6.03, allocations: 32.61 kB / 2.842 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002532/6.032, allocations: 2.191 MB / 2.844 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004682/6.037, allocations: 2.151 MB / 2.847 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002918/6.04, allocations: 0 / 2.847 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006643/6.041, allocations: 0.5148 MB / 2.847 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008907/6.05, allocations: 3.011 MB / 2.85 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7287/6.778, allocations: 3.539 MB / 2.853 GB, free: 197.3 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/6.792, allocations: 3.938 MB / 2.857 GB, free: 197.2 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.482e-05/6.793, allocations: 3.906 kB / 2.857 GB, free: 197.2 MB / 0.6824 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03722/6.83, allocations: 8.475 MB / 2.866 GB, free: 197 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/6.83, allocations: 3.812 kB / 2.866 GB, free: 197 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/6.83, allocations: 3.781 kB / 2.866 GB, free: 197 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/6.831, allocations: 188.1 kB / 2.866 GB, free: 197 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01705/6.848, allocations: 2.027 MB / 2.868 GB, free: 197 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/6.854, allocations: 2.931 MB / 2.871 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0153/6.869, allocations: 0.9774 MB / 2.872 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003578/6.872, allocations: 314.1 kB / 2.872 GB, free: 194.6 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.005569/6.878, allocations: 188.5 kB / 2.872 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00392/6.882, allocations: 446.9 kB / 2.872 GB, free: 194.5 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04413/6.926, allocations: 10.54 MB / 2.883 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/6.926, allocations: 74.27 kB / 2.883 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.894e-05/6.926, allocations: 3.906 kB / 2.883 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000252/6.927, allocations: 37.17 kB / 2.883 GB, free: 194.1 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06336/6.99, allocations: 18.12 MB / 2.901 GB, free: 193 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.05e-05/6.99, allocations: 0 / 2.901 GB, free: 193 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01507/7.005, allocations: 1.908 MB / 2.902 GB, free: 193 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/7.007, allocations: 183.3 kB / 2.903 GB, free: 193 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002897/7.01, allocations: 145.6 kB / 2.903 GB, free: 193 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/7.013, allocations: 2.966 MB / 2.906 GB, free: 190.6 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/7.013, allocations: 3.062 kB / 2.906 GB, free: 190.6 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03087/7.044, allocations: 8.464 MB / 2.914 GB, free: 188.9 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02824/7.072, allocations: 8.935 MB / 2.923 GB, free: 185 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006464/7.079, allocations: 1.835 MB / 2.924 GB, free: 184 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003908/7.083, allocations: 7.5 kB / 2.924 GB, free: 184 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01263/7.096, allocations: 0.7237 MB / 2.925 GB, free: 184 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002222/7.098, allocations: 366.4 kB / 2.925 GB, free: 183.9 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002653/7.101, allocations: 269.8 kB / 2.926 GB, free: 183.9 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.005165/7.106, allocations: 1.777 MB / 2.927 GB, free: 183.1 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0127/7.118, allocations: 1.961 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.005543/7.124, allocations: 1.266 MB / 2.931 GB, free: 182.6 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02174/7.146, allocations: 7.826 MB / 2.938 GB, free: 179.2 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/7.146, allocations: 0 / 2.938 GB, free: 179.2 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01258/7.159, allocations: 4.363 MB / 2.943 GB, free: 177.3 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006921/7.165, allocations: 0.5522 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.05309/7.219, allocations: 10.59 MB / 2.953 GB, free: 172.8 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01976/7.238, allocations: 4.356 MB / 2.958 GB, free: 171.8 MB / 0.6824 GB Notification: Performance of SimCode: time 3.136e-06/7.239, allocations: 0 / 2.958 GB, free: 171.8 MB / 0.6824 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)