Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33: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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003125/0.0003125, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0003756/0.0003756, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.2837/0.2837, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.6553/0.6553, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,startTime=-10000,stopTime=1e+06,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,startTime=-10000,stopTime=1e+06,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 4.91e-07/4.91e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.736e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003916/0.003944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003378/0.007321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.007402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.007631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.007919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.008095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002377/0.008333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.008493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.008754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.008881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.499e-05/0.008956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.009096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.009184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.009286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.009705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.57e-05/0.009731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.442e-06/0.009733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.677e-06/0.009741, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00139/0.01113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.553e-05/0.01121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.01144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.01199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.01212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.0122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.01282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.0147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.01479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.637e-05/0.01488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.01491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=8): time 4.349e-06/0.01492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=8): time 0.0006044/0.01552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.01554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.01601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.01608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.01623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.01629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003206/0.01673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.01681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.01697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.01722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.01723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006484/0.01788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.0179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.01848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.01922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.01923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.0201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.02011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.02023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.02066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.02077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.0209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.0212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.02126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.02134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002704/0.02161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.172e-06/0.02162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001213/0.02283, allocations: 0 / 0, free: 0 / 0 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/0.02327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002821/0.02355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.02356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.02365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.02503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.02611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002351/0.02635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.02645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.305e-05/0.02649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001092/0.02758, allocations: 0 / 0, free: 0 / 0 [openmodelica_codegen_wasm_jit/src/CodegenWasmJit/entry.rs:183:9-183:9:writable] Error: Internal error CodegenWasmJit: no wasm library defines the model's `external \"C\"` function(s) `weeklyScheduleInit`, `weeklyScheduleFree`, `getScheduleValue`, and OMC_WASM_NATIVE_EXTERNALS=0 refuses the native ones " [Timeout remaining time 540] Failed to build model: Buildings.Utilities.IO.Files.Examples.WeeklySchedule[Calling sys.exit(0), Time elapsed: 2.468191568274051]