Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000957/0.000957, allocations: 184.4 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.1 MB / 0.5667 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 86.69 kB / 0.671 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3594/0.3605, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.528, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/1.046, allocations: 133 MB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/1.046, allocations: 83.56 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003267/1.049, allocations: 1.156 MB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.049, allocations: 8 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/1.049, allocations: 15.14 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.049, allocations: 166.9 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/1.049, allocations: 4 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/1.049, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.87e-05/1.049, allocations: 11.62 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/1.05, allocations: 48.69 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.05, allocations: 4 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.05, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.05, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/1.05, allocations: 261.9 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/1.05, allocations: 30.08 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/1.05, allocations: 16.42 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/1.05, allocations: 4 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.956e-05/1.05, allocations: 55.22 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/1.05, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001781/1.05, allocations: 61.28 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/1.05, allocations: 51.41 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/1.051, allocations: 116.4 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/1.051, allocations: 28.44 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/1.051, allocations: 87.11 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/1.051, allocations: 11.89 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/1.051, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.051, allocations: 318.5 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/1.051, allocations: 11.31 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/1.051, allocations: 35.3 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/1.051, allocations: 15.86 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.051, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001023/1.051, allocations: 72.16 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.051, allocations: 12.16 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.051, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.051, allocations: 4 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/1.051, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.051, allocations: 7.984 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/1.051, allocations: 7.906 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/1.051, allocations: 4 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/1.051, allocations: 115.4 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/1.051, allocations: 11.89 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/1.051, allocations: 4.062 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/1.051, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.051, allocations: 3.984 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.051, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/1.052, allocations: 280.2 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.052, allocations: 3.984 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/1.052, allocations: 11.94 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.052, allocations: 4 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.052, allocations: 3.938 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.052, allocations: 0 / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.052, allocations: 0 / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/1.052, allocations: 154.8 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002609/1.052, allocations: 0.5257 MB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/1.052, allocations: 81.02 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/1.052, allocations: 11.5 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/1.052, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/1.052, allocations: 12.27 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.052, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.897e-05/1.052, allocations: 98.59 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008314/1.053, allocations: 11.98 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/1.053, allocations: 95.25 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001016/1.054, allocations: 34.06 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.054, allocations: 0 / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/1.054, allocations: 15.38 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/1.054, allocations: 8.297 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/1.054, allocations: 85.27 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.054, allocations: 0.6958 MB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.054, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)