Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",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/BuildSysPro 3.5.0/package.mo): time 0.7361/0.7361, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 189.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 90.88 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2685/0.2694, allocations: 82.88 MB / 0.546 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.4206, allocations: 76.74 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4107/0.8314, allocations: 102.5 MB / 0.7211 GB, free: 9.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.8318, allocations: 79.95 kB / 0.7212 GB, free: 9.691 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004803/0.8366, allocations: 1.488 MB / 0.7226 GB, free: 8.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.8366, allocations: 8 kB / 0.7226 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.8367, allocations: 11.84 kB / 0.7227 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8369, allocations: 175.8 kB / 0.7228 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.8369, allocations: 0 / 0.7228 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.8369, allocations: 8 kB / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.86e-05/0.837, allocations: 23.98 kB / 0.7229 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.8371, allocations: 53.67 kB / 0.7229 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.8372, allocations: 0 / 0.7229 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.8372, allocations: 0 / 0.7229 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8372, allocations: 0 / 0.7229 GB, free: 7.844 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.8377, allocations: 287.4 kB / 0.7232 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.8379, allocations: 46.56 kB / 0.7232 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.838, allocations: 12.92 kB / 0.7232 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.838, allocations: 4 kB / 0.7232 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.838, allocations: 34.66 kB / 0.7233 GB, free: 7.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.838, allocations: 0 / 0.7233 GB, free: 7.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.8382, allocations: 53.53 kB / 0.7233 GB, free: 7.352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.8382, allocations: 53.97 kB / 0.7234 GB, free: 7.289 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.8383, allocations: 105 kB / 0.7235 GB, free: 7.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.8383, allocations: 25.7 kB / 0.7235 GB, free: 7.148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.8384, allocations: 84.14 kB / 0.7236 GB, free: 7.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.8384, allocations: 19.73 kB / 0.7236 GB, free: 7.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.8384, allocations: 0 / 0.7236 GB, free: 7.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8386, allocations: 314.8 kB / 0.7239 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.8386, allocations: 8 kB / 0.7239 GB, free: 6.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.8386, allocations: 4 kB / 0.7239 GB, free: 6.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.8386, allocations: 16.11 kB / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8387, allocations: 0 / 0.7239 GB, free: 6.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.24e-05/0.8387, allocations: 49.61 kB / 0.724 GB, free: 6.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8388, allocations: 7.984 kB / 0.724 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8388, allocations: 4 kB / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8388, allocations: 0 / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.8389, allocations: 15.94 kB / 0.724 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8389, allocations: 0 / 0.724 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.839, allocations: 11.92 kB / 0.724 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.839, allocations: 4 kB / 0.724 GB, free: 6.602 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.377e-05/0.8391, allocations: 109 kB / 0.7241 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.8391, allocations: 3.906 kB / 0.7241 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.8392, allocations: 4 kB / 0.7241 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8392, allocations: 4 kB / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8392, allocations: 0 / 0.7241 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.8392, allocations: 3.984 kB / 0.7241 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.8394, allocations: 150.5 kB / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8394, allocations: 0 / 0.7243 GB, free: 6.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.8395, allocations: 12 kB / 0.7243 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8395, allocations: 0 / 0.7243 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.8395, allocations: 12.8 kB / 0.7243 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.8395, allocations: 0 / 0.7243 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8395, allocations: 0 / 0.7243 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001367/0.8396, allocations: 147.4 kB / 0.7244 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002475/0.8399, allocations: 0.5155 MB / 0.7249 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.84, allocations: 85.02 kB / 0.725 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.84, allocations: 0.5 kB / 0.725 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.8401, allocations: 7.984 kB / 0.725 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.8401, allocations: 4 kB / 0.725 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.8401, allocations: 4 kB / 0.725 GB, free: 5.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.978e-05/0.8402, allocations: 83.27 kB / 0.7251 GB, free: 5.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007711/0.841, allocations: 15.91 kB / 0.7251 GB, free: 5.355 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.511e-05/0.8411, allocations: 95.25 kB / 0.7252 GB, free: 5.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.8412, allocations: 23.94 kB / 0.7253 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8412, allocations: 0 / 0.7253 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.8412, allocations: 15.98 kB / 0.7253 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.8414, allocations: 0.7031 kB / 0.7253 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.8416, allocations: 75.97 kB / 0.7253 GB, free: 5.109 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.842, allocations: 0.6954 MB / 0.726 GB, free: 4.391 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.842, allocations: 3.938 kB / 0.726 GB, free: 4.387 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)