Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.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.0005266/0.0005266, 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.0006732/0.0006732, 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.3785/0.3785, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.007684/0.007684, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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: "" <> buildModelFMU(KeyWordIO.Examples.CaseExamples.ElectricalCases,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(KeyWordIO.Examples.CaseExamples.ElectricalCases,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.406e-06/3.406e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/2.169e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.CaseExamples.ElectricalCases): time 0.007399/0.00742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01311/0.02053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.02103, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readCaseNumbersCSV.mo:2:1-21:23:writable] Warning: Pure function 'KeyWordIO.readCaseNumbersCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. Notification: Performance of NFTyping.typeComponents: time 0.07209/0.09312, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readRowsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readRowsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readCaseColCSV.mo:2:1-48:19:writable] Warning: Pure function 'KeyWordIO.readCaseColCSV' contains a call to impure function 'KeyWordIO.readRowsCSV'. Notification: Performance of NFTyping.typeBindings: time 0.3195/0.4126, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/overwriteCaseCSV.mo:2:1-110:21:writable] Warning: Pure function 'KeyWordIO.overwriteCaseCSV' contains a call to impure function 'KeyWordIO.readCaseNumbersCSV'. Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.4169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004906/0.4218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.008141/0.43, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00542/0.4354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.4394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0006956/0.4401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.006338/0.4465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001261/0.4477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002748/0.4505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0005272/0.4627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.584e-06/0.4627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.751e-05/0.4628, 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: 582 * Number of variables: 582 Notification: Performance of Generate backend data structure: time 0.03928/0.502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000219/0.5023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003172/0.5054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09485/0.6003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.009967/0.6102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005228/0.6108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001874/0.6126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02532/0.638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/0.6382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.6396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.6397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/0.6659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0583/0.7242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.02255/0.7467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.005846/0.7526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0005986/0.7532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007437/0.7606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=187): time 0.0006677/0.7613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=187): time 0.02683/0.7881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004245/0.7885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005041/0.7936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001027/0.7946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.7958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.7974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.003582/0.8009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004404/0.8014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.006771/0.8081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.007866/0.816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.8302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-05/0.8303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=277) (initialization): time 0.02261/0.8529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.417e-05/0.8531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/0.8588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/0.8636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0421/0.9057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/0.9098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/0.9109, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 6 variables: electrical[6].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] electrical[5].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] electrical[4].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] electrical[3].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] electrical[2].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] electrical[1].voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009054/0.9199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/0.9218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/0.9414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/0.9414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.831e-05/0.9415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/0.9415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03537/0.9769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.9769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/0.9806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.9864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000807/0.9872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03826/1.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/1.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002639/1.058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006887/1.059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.003088/1.062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.553e-05/1.062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01021/1.072, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (electrical[6].voltageSource.pin_p.reference.gamma,electrical[5].voltageSource.pin_p.reference.gamma,electrical[4].voltageSource.pin_p.reference.gamma,electrical[3].voltageSource.pin_p.reference.gamma,electrical[2].voltageSource.pin_p.reference.gamma,electrical[1].voltageSource.pin_p.reference.gamma) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0297/1.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0156/1.118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.007992/1.126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/1.131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09176/1.223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005571/1.228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.005154/1.234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008007/1.242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.003162/1.245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.02648/1.271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.06808/1.339, allocations: 0 / 0, free: 0 / 0 [openmodelica_codegen_wasm_jit/src/CodegenWasmJit.rs:2534:9-2534:9:writable] Error: Internal error CodegenWasmJit: `external \"C\"` ReadLine, WriteLineLn, WriteLine has no wasm implementation and no platform library this omc can ship either: `ReadLine` is in none of the model's libraries — the model declares no `Library` annotation that resolves to one. Name a wasm module built with `clang --target=wasm32-wasip1 -fPIC -shared`, or, for a native run, the platform shared library the C target would link. the `Include` C sources did not compile for the wasm target: clang --target=wasm32-wasip1 -O1 -fPIC -shared -nodefaultlibs --sysroot=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/wasm32-wasi/omc -Wl,--export-all -Wl,--allow-undefined -DOM_HAVE_PTHREADS -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc \"-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources\" -o /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.wasm /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/wasm32-wasi/omc/lib/wasm32-wasip1/libclang_rt.builtins-wasm32.a /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:18:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 18 | return 1; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:24:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 24 | return 2; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:46:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 46 | return 1; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:52:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 52 | return 2; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:59:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 59 | return 3; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:130:71: error: incompatible pointer to integer conversion returning 'const int *' from a function with result type 'int' [-Wint-conversion] 130 | int omc_ext_call_WriteLineLn(const char* a0, const char* a1) { return WriteLineLn(a0, a1); } | ^~~~~~~~~~~~~~~~~~~ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:134:69: error: incompatible pointer to integer conversion returning 'const int *' from a function with result type 'int' [-Wint-conversion] 134 | int omc_ext_call_WriteLine(const char* a0, const char* a1) { return WriteLine(a0, a1); } | ^~~~~~~~~~~~~~~~~ 7 errors generated. the `Include` C sources did not compile for the wasm target: clang --target=wasm32-wasip1 -O1 -fPIC -shared -nodefaultlibs --sysroot=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/wasm32-wasi/omc -Wl,--export-all -Wl,--allow-undefined -DOM_HAVE_PTHREADS -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc \"-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources\" -o /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.wasm /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/wasm32-wasi/omc/lib/wasm32-wasip1/libclang_rt.builtins-wasm32.a /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:18:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 18 | return 1; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:24:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 24 | return 2; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:46:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 46 | return 1; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:52:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 52 | return 2; | ^ /tmp/om-wasm-include-477747-KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes.c:59:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 59 | return 3; | ^ 5 errors generated. the `Include` C sources did not compile: clang -shared -fPIC -O1 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c -I /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc \"-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources\" -o /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.so /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c:18:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 18 | return 1; | ^ /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c:24:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 24 | return 2; | ^ /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c:46:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 46 | return 1; | ^ /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c:52:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 52 | return 2; | ^ /tmp/om-extc-477747/KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases_includes_exports.c:59:19: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const int *' [-Wint-conversion] 59 | return 3; | ^ 5 errors generated. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.5398131230613217]