Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.156/2.156, allocations: 284.8 MB / 292.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 173.3 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001207, allocations: 88.88 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2431/0.2443, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.7913, allocations: 115.3 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.9918, allocations: 136.5 MB / 1.096 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.9921, allocations: 68.5 kB / 1.096 GB, free: 4.266 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002515/0.9946, allocations: 0.669 MB / 1.097 GB, free: 3.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9947, allocations: 8 kB / 1.097 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.9947, allocations: 4.469 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9949, allocations: 171 kB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.9949, allocations: 1.125 kB / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.9949, allocations: 0 / 1.097 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.819e-05/0.995, allocations: 8 kB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.646e-05/0.995, allocations: 30.36 kB / 1.097 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.9951, allocations: 0.6562 kB / 1.097 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.9951, allocations: 7.906 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9951, allocations: 1.844 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.9953, allocations: 130.2 kB / 1.097 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.9953, allocations: 19.86 kB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.9954, allocations: 8.906 kB / 1.097 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.9954, allocations: 5.469 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.9955, allocations: 35.5 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.775e-06/0.9955, allocations: 0.5625 kB / 1.097 GB, free: 3.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.9956, allocations: 40.62 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.9957, allocations: 52.16 kB / 1.097 GB, free: 2.953 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.9958, allocations: 97.72 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.9958, allocations: 29.69 kB / 1.097 GB, free: 2.816 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.9958, allocations: 80.64 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.9959, allocations: 0.5312 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9959, allocations: 1 kB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.996, allocations: 314.8 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.996, allocations: 7.656 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.9961, allocations: 0.9375 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.9961, allocations: 4 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9961, allocations: 0 / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.439e-05/0.9962, allocations: 45.59 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.9962, allocations: 4 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9962, allocations: 0 / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9963, allocations: 0.875 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.9964, allocations: 10.94 kB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.9964, allocations: 3.938 kB / 1.098 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.9964, allocations: 7.984 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.9965, allocations: 1.312 kB / 1.098 GB, free: 2.336 MB / 0.698 GB 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 (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 prepare postOptimizeDAE: time 7.538e-05/0.9965, allocations: 108.7 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.9966, allocations: 9.016 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.9966, allocations: 3.156 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.9966, allocations: 0 / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.9966, allocations: 1.688 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9966, allocations: 0 / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.9968, allocations: 138.1 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.9968, allocations: 0 / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.9968, allocations: 7.984 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9969, allocations: 0 / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.9969, allocations: 0 / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9969, allocations: 4 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9969, allocations: 0 / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.749e-05/0.997, allocations: 63.67 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002198/0.9972, allocations: 449 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.9973, allocations: 85.02 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.9973, allocations: 5.797 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.9974, allocations: 4 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.9974, allocations: 0 / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.9974, allocations: 0 / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.589e-05/0.9975, allocations: 83.28 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001059/0.9986, allocations: 4 kB / 1.099 GB, free: 1.297 MB / 0.698 GB 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 (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.0001291/0.9987, allocations: 103.2 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.9988, allocations: 8 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9988, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.9988, allocations: 7.938 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.999, allocations: 3.906 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.9992, allocations: 56.73 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.9995, allocations: 0.6841 MB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of SimCode: time 2.725e-06/0.9996, allocations: 4.125 kB / 1.1 GB, free: 384 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)