Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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 loadModel(Buildings): time 4.16/4.16, allocations: 433 MB / 440.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5449/4.705, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/4.94, allocations: 98.72 MB / 0.6283 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/5.22, allocations: 125.7 MB / 0.7511 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/5.22, allocations: 87.56 kB / 0.7512 GB, free: 11.73 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.02079/5.241, allocations: 3.116 MB / 0.7542 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/5.241, allocations: 11.94 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/5.241, allocations: 19.89 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/5.241, allocations: 178.9 kB / 0.7544 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/5.242, allocations: 0 / 0.7544 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/5.242, allocations: 4 kB / 0.7544 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/5.242, allocations: 32 kB / 0.7544 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/5.242, allocations: 73.64 kB / 0.7545 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/5.242, allocations: 0 / 0.7545 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/5.242, allocations: 0 / 0.7545 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/5.242, allocations: 0 / 0.7545 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/5.243, allocations: 293.2 kB / 0.7548 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/5.243, allocations: 58.56 kB / 0.7548 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/5.243, allocations: 36.84 kB / 0.7549 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/5.243, allocations: 0 / 0.7549 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/5.243, allocations: 88.06 kB / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.538e-06/5.243, allocations: 96 / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004282/5.244, allocations: 101.4 kB / 0.7551 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/5.244, allocations: 55.41 kB / 0.7551 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/5.244, allocations: 113 kB / 0.7552 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/5.244, allocations: 25.7 kB / 0.7552 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/5.244, allocations: 88.36 kB / 0.7553 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/5.244, allocations: 19.72 kB / 0.7553 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/5.244, allocations: 3.938 kB / 0.7554 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001568/5.244, allocations: 326.8 kB / 0.7557 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/5.244, allocations: 16 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/5.245, allocations: 69.88 kB / 0.7557 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/5.245, allocations: 31.97 kB / 0.7558 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.245, allocations: 0 / 0.7558 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000294/5.245, allocations: 105.5 kB / 0.7559 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/5.245, allocations: 10.75 kB / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/5.245, allocations: 4 kB / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/5.245, allocations: 0 / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/5.245, allocations: 24.08 kB / 0.7559 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/5.245, allocations: 7.906 kB / 0.7559 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/5.245, allocations: 4 kB / 0.7559 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/5.245, allocations: 11.98 kB / 0.7559 GB, free: 6.594 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001295/5.246, allocations: 113 kB / 0.756 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/5.246, allocations: 11.81 kB / 0.7561 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/5.246, allocations: 8.375 kB / 0.7561 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/5.246, allocations: 0 / 0.7561 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/5.246, allocations: 4 kB / 0.7561 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/5.246, allocations: 0 / 0.7561 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/5.246, allocations: 359.1 kB / 0.7564 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/5.246, allocations: 7.938 kB / 0.7564 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/5.247, allocations: 7.984 kB / 0.7564 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/5.247, allocations: 0 / 0.7564 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/5.247, allocations: 4 kB / 0.7564 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/5.247, allocations: 4 kB / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/5.247, allocations: 0 / 0.7564 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003831/5.247, allocations: 199.4 kB / 0.7566 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005977/5.248, allocations: 0.5679 MB / 0.7572 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/5.248, allocations: 85.05 kB / 0.7573 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/5.248, allocations: 15.92 kB / 0.7573 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/5.248, allocations: 11.94 kB / 0.7573 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/5.248, allocations: 3.984 kB / 0.7573 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/5.248, allocations: 4 kB / 0.7573 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.534e-05/5.248, allocations: 95.27 kB / 0.7574 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001406/5.25, allocations: 55.84 kB / 0.7574 GB, free: 4.953 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005519/5.25, allocations: 175.8 kB / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003099/5.251, allocations: 76.05 kB / 0.7577 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/5.251, allocations: 0 / 0.7577 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/5.251, allocations: 36 kB / 0.7577 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/5.251, allocations: 19.05 kB / 0.7577 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/5.252, allocations: 111.5 kB / 0.7578 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/5.252, allocations: 0.7154 MB / 0.7585 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of SimCode: time 1.382e-06/5.252, allocations: 0 / 0.7585 GB, free: 3.777 MB / 0.6355 GB