Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.125/2.125, allocations: 284.8 MB / 292.1 MB, free: 14.76 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001569, allocations: 189.2 kB / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6187 GB, free: 5.164 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 92.66 kB / 0.7317 GB, free: 53.48 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.24/0.2413, allocations: 121.4 MB / 0.8502 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.4806, allocations: 115.3 MB / 0.9628 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.004, allocations: 2.094 GB / 3.056 GB, free: 31 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/5.004, allocations: 84.5 kB / 3.057 GB, free: 30.96 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1967 * Number of variables: 1967 Notification: Performance of Generate backend data structure: time 1.866/6.871, allocations: 395.2 MB / 3.443 GB, free: 18.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/6.871, allocations: 8.5 kB / 3.443 GB, free: 18.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08225/6.953, allocations: 6.77 MB / 3.449 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/6.964, allocations: 3.609 MB / 3.453 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/6.965, allocations: 248 kB / 3.453 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/6.968, allocations: 432 kB / 3.453 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3595/7.327, allocations: 10.19 MB / 3.463 GB, free: 304.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/7.359, allocations: 8.278 MB / 3.471 GB, free: 304.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/7.359, allocations: 3.656 kB / 3.471 GB, free: 304.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/7.361, allocations: 10.77 kB / 3.471 GB, free: 304.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/7.362, allocations: 188.3 kB / 3.472 GB, free: 304.2 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09401/7.456, allocations: 26.58 MB / 3.497 GB, free: 299.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02135/7.477, allocations: 6.787 MB / 3.504 GB, free: 299.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/7.489, allocations: 3.693 MB / 3.508 GB, free: 299.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/7.491, allocations: 0.6718 MB / 3.508 GB, free: 298.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01499/7.506, allocations: 4.391 MB / 3.513 GB, free: 298.6 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=677): time 1.458e-05/7.506, allocations: 0 / 3.513 GB, free: 298.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=677): time 0.03721/7.543, allocations: 7.878 MB / 3.52 GB, free: 298.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/7.544, allocations: 454.5 kB / 3.521 GB, free: 297.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/7.549, allocations: 2.316 MB / 3.523 GB, free: 297.4 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.002418/7.552, allocations: 31.89 kB / 3.523 GB, free: 297.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002027/7.554, allocations: 2.022 MB / 3.525 GB, free: 296.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.004245/7.558, allocations: 2.108 MB / 3.527 GB, free: 295.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/7.559, allocations: 4.438 kB / 3.527 GB, free: 295.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003637/7.56, allocations: 0.5177 MB / 3.528 GB, free: 295.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009834/7.57, allocations: 2.941 MB / 3.531 GB, free: 295.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/7.581, allocations: 3.475 MB / 3.534 GB, free: 294.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/7.597, allocations: 3.764 MB / 3.538 GB, free: 293.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-05/7.597, allocations: 5.391 kB / 3.538 GB, free: 293.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03708/7.634, allocations: 8.237 MB / 3.546 GB, free: 289.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/7.635, allocations: 3.906 kB / 3.546 GB, free: 289.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/7.635, allocations: 3.75 kB / 3.546 GB, free: 289.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/7.637, allocations: 187.5 kB / 3.546 GB, free: 289.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02627/7.663, allocations: 1.947 MB / 3.548 GB, free: 289.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/7.669, allocations: 2.938 MB / 3.551 GB, free: 287.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01979/7.688, allocations: 0.9084 MB / 3.551 GB, free: 287 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002966/7.691, allocations: 310.8 kB / 3.552 GB, free: 286.9 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (746): * Single equations (assignments): 744 * 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.004261/7.696, allocations: 203.4 kB / 3.552 GB, free: 286.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002936/7.699, allocations: 461.9 kB / 3.552 GB, free: 286.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05667/7.755, allocations: 10.21 MB / 3.562 GB, free: 282.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001793/7.756, allocations: 68.66 kB / 3.562 GB, free: 282.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-05/7.756, allocations: 1.406 kB / 3.562 GB, free: 282.9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002583/7.756, allocations: 37.95 kB / 3.562 GB, free: 282.9 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0594/7.815, allocations: 17.58 MB / 3.58 GB, free: 274.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/7.815, allocations: 3.469 kB / 3.58 GB, free: 274.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02428/7.84, allocations: 1.829 MB / 3.581 GB, free: 274.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/7.842, allocations: 181 kB / 3.582 GB, free: 274.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002021/7.844, allocations: 143.1 kB / 3.582 GB, free: 274.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/7.849, allocations: 2.966 MB / 3.585 GB, free: 272.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/7.849, allocations: 6.531 kB / 3.585 GB, free: 272.1 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03489/7.884, allocations: 8.202 MB / 3.593 GB, free: 268.7 MB / 0.9356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03467/7.918, allocations: 8.677 MB / 3.601 GB, free: 264.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006585/7.925, allocations: 1.826 MB / 3.603 GB, free: 263.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002834/7.928, allocations: 4.062 kB / 3.603 GB, free: 263.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01947/7.947, allocations: 0.6693 MB / 3.604 GB, free: 263.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001936/7.949, allocations: 358.1 kB / 3.604 GB, free: 263.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001517/7.951, allocations: 270.9 kB / 3.604 GB, free: 263.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.00524/7.956, allocations: 1.934 MB / 3.606 GB, free: 262.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.01218/7.968, allocations: 1.844 MB / 3.608 GB, free: 262.3 MB / 0.9356 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 (718): * Single equations (assignments): 712 * 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.004607/7.973, allocations: 1.222 MB / 3.609 GB, free: 262.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02774/8.001, allocations: 7.662 MB / 3.617 GB, free: 258.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/8.001, allocations: 0 / 3.617 GB, free: 258.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0131/8.014, allocations: 4.263 MB / 3.621 GB, free: 254.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007017/8.021, allocations: 0.5724 MB / 3.621 GB, free: 254.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/8.061, allocations: 10.18 MB / 3.631 GB, free: 244.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/8.075, allocations: 4.209 MB / 3.635 GB, free: 241.8 MB / 0.9356 GB Notification: Performance of SimCode: time 1.483e-06/8.075, allocations: 0 / 3.635 GB, free: 241.8 MB / 0.9356 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD500.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)