Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",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.004608/0.004608, allocations: 177.8 kB / 7.455 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.7175/0.7175, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.428/1.428, allocations: 221.3 MB / 395 MB, free: 10.18 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.001083/0.001083, allocations: 108.7 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4187/0.4198, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.5859, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.321/4.907, allocations: 1.715 GB / 2.348 GB, free: 249.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004267/4.907, allocations: 85.2 kB / 2.348 GB, free: 249.7 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.612/6.519, allocations: 417.1 MB / 2.755 GB, free: 96.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/6.519, allocations: 11.98 kB / 2.755 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04804/6.567, allocations: 7.083 MB / 2.762 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/6.579, allocations: 3.682 MB / 2.766 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005025/6.579, allocations: 268 kB / 2.766 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004845/6.584, allocations: 472 kB / 2.767 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03055/6.615, allocations: 10.65 MB / 2.777 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03292/6.648, allocations: 8.798 MB / 2.786 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002968/6.648, allocations: 1.688 kB / 2.786 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003755/6.652, allocations: 4 kB / 2.786 GB, free: 68.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/6.652, allocations: 204 kB / 2.786 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08027/6.732, allocations: 31.26 MB / 2.816 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/6.748, allocations: 6.797 MB / 2.823 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008711/6.757, allocations: 3.782 MB / 2.827 GB, free: 26.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/6.758, allocations: 0.6806 MB / 2.827 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01228/6.771, allocations: 4.494 MB / 2.832 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 2.117e-05/6.771, allocations: 0 / 2.832 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.02735/6.798, allocations: 8.15 MB / 2.84 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/6.798, allocations: 463.1 kB / 2.84 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003961/6.802, allocations: 2.103 MB / 2.842 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.003449/6.806, allocations: 32.05 kB / 2.842 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/6.808, allocations: 2.195 MB / 2.844 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004953/6.813, allocations: 2.14 MB / 2.847 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002171/6.815, allocations: 0 / 2.847 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0004311/6.816, allocations: 0.5187 MB / 2.847 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007755/6.823, allocations: 3.011 MB / 2.85 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7914/7.615, allocations: 3.535 MB / 2.853 GB, free: 198.9 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/7.627, allocations: 3.944 MB / 2.857 GB, free: 198.8 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.797e-05/7.628, allocations: 0 / 2.857 GB, free: 198.8 MB / 0.6824 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02942/7.657, allocations: 8.478 MB / 2.866 GB, free: 198.6 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/7.657, allocations: 7.531 kB / 2.866 GB, free: 198.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/7.657, allocations: 8.266 kB / 2.866 GB, free: 198.6 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/7.659, allocations: 191 kB / 2.866 GB, free: 198.6 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01693/7.675, allocations: 2.03 MB / 2.868 GB, free: 198.6 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/7.68, allocations: 2.919 MB / 2.871 GB, free: 196.2 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/7.694, allocations: 0.9795 MB / 2.872 GB, free: 196.2 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003765/7.698, allocations: 316.2 kB / 2.872 GB, free: 196.2 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.007314/7.705, allocations: 190.1 kB / 2.872 GB, free: 196.1 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005099/7.71, allocations: 451.9 kB / 2.872 GB, free: 196.1 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05341/7.764, allocations: 10.54 MB / 2.883 GB, free: 195.7 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.105e-05/7.764, allocations: 68.25 kB / 2.883 GB, free: 195.7 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/7.764, allocations: 3.625 kB / 2.883 GB, free: 195.7 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001709/7.764, allocations: 34.27 kB / 2.883 GB, free: 195.7 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05763/7.821, allocations: 18.12 MB / 2.901 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/7.822, allocations: 0 / 2.901 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01583/7.837, allocations: 1.913 MB / 2.902 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/7.839, allocations: 177.8 kB / 2.903 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00363/7.843, allocations: 149.1 kB / 2.903 GB, free: 194.6 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003737/7.846, allocations: 2.96 MB / 2.906 GB, free: 192.1 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/7.846, allocations: 2.312 kB / 2.906 GB, free: 192.1 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03072/7.877, allocations: 8.471 MB / 2.914 GB, free: 189.6 MB / 0.6824 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03225/7.909, allocations: 8.938 MB / 2.923 GB, free: 185.7 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008304/7.918, allocations: 1.836 MB / 2.924 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004541/7.922, allocations: 5.031 kB / 2.924 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01268/7.935, allocations: 0.7214 MB / 2.925 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00221/7.937, allocations: 366.8 kB / 2.925 GB, free: 184.6 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003088/7.94, allocations: 276.2 kB / 2.926 GB, free: 184.5 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.005452/7.946, allocations: 1.777 MB / 2.927 GB, free: 183.8 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.01341/7.959, allocations: 1.963 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.005374/7.965, allocations: 1.266 MB / 2.931 GB, free: 183.3 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.02338/7.988, allocations: 7.828 MB / 2.938 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/7.988, allocations: 4 kB / 2.938 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/8.001, allocations: 4.359 MB / 2.943 GB, free: 178 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00682/8.008, allocations: 0.5549 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.04694/8.055, allocations: 10.58 MB / 2.953 GB, free: 173.5 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01902/8.074, allocations: 4.348 MB / 2.958 GB, free: 172.5 MB / 0.6824 GB Notification: Performance of SimCode: time 1.262e-06/8.074, allocations: 0 / 2.958 GB, free: 172.5 MB / 0.6824 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)