Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1",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/BuildingSystems 2.0.0-master/package.mo): time 0.7014/0.7014, allocations: 141.8 MB / 149.1 MB, free: 3.77 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 181.3 kB / 181.9 MB, free: 15.52 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 436 MB, free: 8.641 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 99.05 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 287.6 kB / 0.5885 GB, free: 11.73 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1567/0.1586, allocations: 89.64 MB / 0.676 GB, free: 2.008 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.4905, allocations: 82.76 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.5911, allocations: 107.6 MB / 0.8619 GB, free: 4.531 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.5913, allocations: 75.94 kB / 0.862 GB, free: 4.461 MB / 0.5263 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.003375/0.5947, allocations: 2.104 MB / 0.864 GB, free: 2.34 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5947, allocations: 12 kB / 0.864 GB, free: 2.328 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.5948, allocations: 5 kB / 0.864 GB, free: 2.324 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.5948, allocations: 171.7 kB / 0.8642 GB, free: 2.117 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5949, allocations: 0 / 0.8642 GB, free: 2.117 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5949, allocations: 4.906 kB / 0.8642 GB, free: 2.113 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.422e-05/0.5949, allocations: 15.98 kB / 0.8642 GB, free: 2.098 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.56e-05/0.595, allocations: 42.22 kB / 0.8643 GB, free: 2.051 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.595, allocations: 4 kB / 0.8643 GB, free: 2.047 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.595, allocations: 2.469 kB / 0.8643 GB, free: 2.047 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.5951, allocations: 0 / 0.8643 GB, free: 2.047 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.5954, allocations: 0.6207 MB / 0.8649 GB, free: 1.297 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 2.684e-05/0.5954, allocations: 27.89 kB / 0.8649 GB, free: 1.262 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.5954, allocations: 4.859 kB / 0.8649 GB, free: 1.254 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.5955, allocations: 0 / 0.8649 GB, free: 1.254 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.5955, allocations: 35.91 kB / 0.8649 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5955, allocations: 0 / 0.8649 GB, free: 1.211 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1): time 9.887e-05/0.5956, allocations: 34.88 kB / 0.865 GB, free: 1.172 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.5956, allocations: 55.31 kB / 0.865 GB, free: 1.105 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.5957, allocations: 127.1 kB / 0.8651 GB, free: 0.9766 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.5957, allocations: 25.7 kB / 0.8652 GB, free: 0.9453 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/0.5957, allocations: 92.95 kB / 0.8653 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.5957, allocations: 0.6562 kB / 0.8653 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5957, allocations: 3.938 kB / 0.8653 GB, free: 0.8477 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.5958, allocations: 323.3 kB / 0.8656 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.5958, allocations: 12.44 kB / 0.8656 GB, free: 0.5117 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.5958, allocations: 8.562 kB / 0.8656 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.596, allocations: 21 kB / 0.8656 GB, free: 496 kB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.596, allocations: 0 / 0.8656 GB, free: 496 kB / 0.5263 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001735/0.5961, allocations: 77.58 kB / 0.8657 GB, free: 412 kB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.5962, allocations: 8.734 kB / 0.8657 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5962, allocations: 0 / 0.8657 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.5962, allocations: 0.7812 kB / 0.8657 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-05/0.5962, allocations: 1.688 kB / 0.8657 GB, free: 404 kB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5962, allocations: 4.594 kB / 0.8657 GB, free: 400 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.5963, allocations: 0 / 0.8657 GB, free: 400 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5963, allocations: 0.5938 kB / 0.8657 GB, free: 400 kB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 3.755e-05/0.5963, allocations: 109.7 kB / 0.8658 GB, free: 284 kB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5964, allocations: 4.625 kB / 0.8658 GB, free: 280 kB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.5964, allocations: 11.95 kB / 0.8658 GB, free: 264 kB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5964, allocations: 4 kB / 0.8658 GB, free: 260 kB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5964, allocations: 1.625 kB / 0.8658 GB, free: 260 kB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5964, allocations: 0 / 0.8658 GB, free: 260 kB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.5966, allocations: 336.2 kB / 0.8661 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5966, allocations: 0 / 0.8661 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.5966, allocations: 7.984 kB / 0.8661 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5966, allocations: 0.7188 kB / 0.8661 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.5967, allocations: 0.5312 kB / 0.8661 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.5967, allocations: 0 / 0.8661 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5967, allocations: 0.7188 kB / 0.8661 GB, free: 15.87 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.799e-05/0.5967, allocations: 66.08 kB / 0.8662 GB, free: 15.79 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001508/0.5969, allocations: 446.3 kB / 0.8666 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.5969, allocations: 89.09 kB / 0.8667 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.597, allocations: 7.891 kB / 0.8667 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.597, allocations: 0.7188 kB / 0.8667 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.597, allocations: 5.219 kB / 0.8667 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.597, allocations: 0 / 0.8667 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.152e-05/0.5971, allocations: 101.6 kB / 0.8668 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007991/0.5979, allocations: 17 kB / 0.8668 GB, free: 15.11 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 0.0002334/0.5981, allocations: 127.3 kB / 0.867 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.5982, allocations: 21.25 kB / 0.867 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5982, allocations: 0 / 0.867 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/0.5982, allocations: 4 kB / 0.867 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.691e-05/0.5983, allocations: 1.219 kB / 0.867 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.5985, allocations: 64.28 kB / 0.8671 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.5987, allocations: 0.701 MB / 0.8677 GB, free: 14.15 MB / 0.5419 GB Notification: Performance of SimCode: time 3.21e-07/0.5988, allocations: 3.938 kB / 0.8677 GB, free: 14.14 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1.fmu > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)